flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
baldr 12 Mar 2013, 11:55
dv4-fa,
Border is a non-client area of a window. Hence, WM_NCPAINT is the way to go. |
|||
![]() |
|
dv4-fa 12 Mar 2013, 12:52
Thanks, but i already know about wm_ncpaint.
Wndclassex: http://msdn.microsoft.com/en-us/library/windows/desktop/ms633577(v=vs.85).aspx. looking at this msdn page at the hbrbackground member info it says something about color_background btnface highlight etc (convert to hbrush??? How???).. What i wanna do is use wndclassex to initialize the dialog with set colorscheme for border, highlight on button etc. For that specific window. because setsystemcolors never works for me. |
|||
![]() |
|
AsmGuru62 12 Mar 2013, 17:01
To completely override the dialog colors most likely you need to draw in response to WM_NCPAINT.
WNDCLASSEX will not help here. |
|||
![]() |
|
baldr 12 Mar 2013, 17:11
dv4-fa,
Those constants are just references into system-wide colors' scheme (pseudo-brushes' handles actually). You may use SetSysColors() if you're brave enough. ![]() |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.