Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This message is sent to a window after the SetWindowLongfunction has changed one or more of the window's styles.

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 STYLESTRUCTstructure that contains the new styles for the window. An application can examine the styles, but cannot change them.

Return Value

An application should return zero if it processes this message.

Requirements

Header winuser.h
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also