WM CTLCOLORCHANGE: Difference between revisions
Appearance
Created page with "This message is sent to all windows when a change is made to the control colors by the WinSetControlColors function. The message is sent only if an application or global default color is changed. ==Syntax== <pre> param1 ULONG ulReserved; →Reserved value, should be 0.: param2 ULONG ulReserved; →Reserved value, should be 0.: </pre> ==Parameters== ;''ulReserved'' (ULONG) - input: Reserved value, should be 0. ;''ulReserved'' (ULONG) - input: Reserved value..." |
(No difference)
|
Latest revision as of 16:45, 15 April 2025
This message is sent to all windows when a change is made to the control colors by the WinSetControlColors function. The message is sent only if an application or global default color is changed.
Syntax
param1
ULONG ulReserved; /* Reserved value, should be 0. */
param2
ULONG ulReserved; /* Reserved value, should be 0. */
Parameters
- ulReserved (ULONG) - input
- Reserved value, should be 0.
- ulReserved (ULONG) - input
- Reserved value, should be 0.
Returns
- ulReserved (ULONG) - returns
- Reserved value, should be 0.
Remarks
This message is sent by the system when a default control color is changed. System control windows will repaint themselves with the new colors when they receive this message.
Default Processing
The default window procedure takes no action on this message, other than to set ulReserved to the default value of FALSE.