WM_STYLECHANGED

This message is sent to a window after the SetWindowLong function has changed one or more of the window’s styles.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

WM_STYLECHANGED wStyleType = wParam; lpss = (LPSTYLESTRUCT) lParam;

Parameters

wStyleType

Specifies whether the window’s styles or extended styles have changed. It is a combination of the following values:

Value Description
GWL_EXSTYLE The window’s extended styles have changed.
GWL_STYLE The window’s styles have changed.

lpss

Long 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.

See Also

SetWindowLong, STYLESTRUCT