WM_STYLECHANGED

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;            // windows styles or extended styles 
lpss = (LPSTYLESTRUCT) lParam;  // structure containing new styles 
 

Parameters

wStyleType
Value of wParam. Specifies whether the window's styles or extended 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 styles have changed.

lpss
Value of lParam. Pointer 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.

QuickInfo

  Windows NT: Requires version 3.51 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Requires version 1.0 or later.
  Header: Declared in winuser.h.

See Also

Windows Overview, Window Messages, SetWindowLong, STYLESTRUCT, WM_STYLECHANGING