Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WM_STYLECHANGED message

Sent to a window after the SetWindowLong function has changed one or more of the window's styles.

A window receives this message through its WindowProc function.


#define WM_STYLECHANGED                 0x007D

Parameters

wParam

Indicates whether the window's styles or extended window styles have changed. This parameter can be one or more of the following values.

ValueMeaning
GWL_EXSTYLE
-20

The extended window styles have changed.

GWL_STYLE
-16

The window styles have changed.

 

lParam

A pointer to a STYLESTRUCT structure that contains the new styles for the window. An application can examine the styles, but cannot change them.

Return value

Type: LRESULT

An application should return zero if it processes this message.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Winuser.h (include Windows.h)

See also

Reference
SetWindowLong
STYLESTRUCT
WM_STYLECHANGING
Conceptual
Windows

 

 

Show:
© 2017 Microsoft