WM_STYLECHANGED

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message is sent to a window after the SetWindowLong function 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 STYLESTRUCT structure 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

Reference

SetWindowLong
STYLESTRUCT
Windows Messages