windows_programming_notes.nbk: Home | Index | Next Page: WM_STYLECHANGING | Previous Page: WM_SPOOLERSTATUS


 WM_STYLECHANGED

The WM_STYLECHANGED message is sent to a window after the SetWindowLong function has changed one or more of the window's styles.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_STYLECHANGED
      WPARAM wParam,   // window style types
      LPARAM lParam    // new styles (LPSTYLESTRUCT)
    );

Parameters

Return Values

An application should return zero if it processes this message.

For more information on the Windows 95/98 implementation of this message, see Window Management Differences.

Requirements

  Windows NT/2000 or later: Requires Windows NT 3.51 or later.
  Windows 95/98/Me: Requires Windows 95 or later.
  Header: Declared in Winuser.h; include Windows.h.

windows_programming_notes.nbk: Home | Index | Next Page: WM_STYLECHANGING | Previous Page: WM_SPOOLERSTATUS


Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time