WM_STYLECHANGED (Compact 2013)

3/28/2014

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

See Also

Reference

Window Messages
SetWindowLong
STYLESTRUCT