The WM_STYLECHANGED message is sent to a window after the SetWindowLong function has changed one or more of the window's styles.
WM_STYLECHANGED
wStyleType = wParam; // extended or nonextended styles
lpss = (LPSTYLESTRUCT) lParam; // structure containing new styles
Parameters
wStyleType
Value of wParam. Specifies whether the window's extended or nonextended styles have changed. This parameter can be a combination of the following values:
Value | Meaning |
GWL_EXSTYLE | The window's extended styles have changed. |
GWL_STYLE | The window's nonextended styles have changed. |
lpss
Value of lParam. Points to a STYLESTRUCT structure that contains the new styles for the window. An application can examine the styles, but can not change them.
Return Values
An application should return zero if it processes this message.
See Also