flat assembler
Message board for the users of flat assembler.
Index
> Windows > [solved]WIC+D2D1+LayeredWindow+headache Goto page Previous 1, 2, 3 |
Author |
|
Overclick 19 Aug 2021, 16:07
OMG !!!
All I was needed is Size. Stupid Microsoft says if NULL it hold window size unchanged but it is bu...it! After I added Size struc to my UpdateLayeredWindow it works just fine. Thanks for watching |
|||
19 Aug 2021, 16:07 |
|
Roman 20 Aug 2021, 03:53
Good work!
У нас скоро будет fasm графический эквалайзер? Как будешь рисовать GUI под разные размеры экранов и управлять кнопками и sliders? |
|||
20 Aug 2021, 03:53 |
|
Overclick 20 Aug 2021, 06:00
Quote:
A lot of ideas: D2D have its own layers to prepare buttons textures there and hold them on right positions. Clicks can be processed by ownerdraw (transparent) childwindows. For best size it is no problem to manipulate with stretch coeficients. Don't look at this rubbish texture it's just for testing windows shadow. A lot of staff I cleared from render process as BeginPaint, SetWindowLong, etc. Window just flying on the screen, dynamic transparency no need of my attention (redrawing). This benefits we can have with LayeredWindows only. I fixed my hwndRenderTarget too, but it works with normal window only without transparency at all. |
|||
20 Aug 2021, 06:00 |
|
Goto page Previous 1, 2, 3 < Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.