Düzenle

Aracılığıyla paylaş


WM_STYLECHANGING message

Sent to a window when the SetWindowLong function is about to change one or more of the window's styles.

A window receives this message through its WindowProc function.

#define WM_STYLECHANGING                0x007C

Parameters

wParam

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

Value Meaning
GWL_EXSTYLE
-20
The extended window styles are changing.
GWL_STYLE
-16
The window styles are changing.

 

lParam

A pointer to a STYLESTRUCT structure that contains the proposed new styles for the window. An application can examine the styles and, if necessary, 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

STYLESTRUCT

WM_STYLECHANGED

Conceptual

Windows