This topic has not yet been rated - Rate this topic

WM_STYLECHANGING message

Applies to: desktop apps only

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.

ValueMeaning
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

Minimum supported client

Windows 2000 Professional

Minimum supported server

Windows 2000 Server

Header

Winuser.h (include Windows.h)

See also

Reference
STYLESTRUCT
WM_STYLECHANGED
Conceptual
Windows

 

 

Send comments about this topic to Microsoft

Build date: 2/3/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ
Value
WM_STYLECHANGING = &H7C
<Flags()> Public Enum WM_STYLECHANGING As Integer
GWL_EXSTYLE = -20
GWL_STYLE = -16
End Enum