Rediger

Del via


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.

Value Meaning
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

Requirement Value
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