windows_programming_notes.nbk: Home | Index | Next Page: WM_DRAWCLIPBOARD | Previous Page: WM_DEVMODECHANGE
The WM_DISPLAYCHANGE message is sent to all windows when the display resolution has changed.
A window receives this message through its WindowProc function.
    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_DISPLAYCHANGE
      WPARAM wParam,   // image depth
      LPARAM lParam    // screen resolution
    );
This message is only sent to top-level windows. For all other windows it is posted.
Windows NT/2000 or later: Requires Windows NT 4.0 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_DRAWCLIPBOARD | Previous Page: WM_DEVMODECHANGE
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time