windows_programming_notes.nbk: Home | Index | Next Page: WM_VKEYTOITEM | Previous Page: WM_UNDO


 WM_USERCHANGED

The WM_USERCHANGED message is sent to all windows after the user has logged on or off. When the user logs on or off, the system updates the user-specific settings. The system sends this message immediately after updating the settings.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // WM_USERCHANGED
      WPARAM wParam,   // not used
      LPARAM lParam    // not used
    );

Parameters

This message has no parameters.

Return Values

An application should return zero if it processes this message.

Requirements

  Windows NT/2000 or later: Unsupported . 
  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_VKEYTOITEM | Previous Page: WM_UNDO


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