windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_TIMER | Previous Page: win32 msgs: WM_SETTINGCHANGE


 win32 msgs: WM_TIMECHANGE

A message that is sent whenever there is a change in the system time.

A window receives this message through its WindowProc function.

    LRESULT CALLBACK WindowProc(
      HWND hwnd,       // handle to window
      UINT uMsg,       // message identifier
      WPARAM wParam,   // not used; must be zero
      LPARAM lParam    // not used; must be zero
    );

Parameters

Return Value

An application should return zero if it processes this message.

Remarks

An application should not broadcast this message, because the system will broadcast this message when the application changes the system time.

Windows Me/98/95: An application should send this message to all top-level windows after changing the system time using the SendMessageTimeout function with HWND_TOPMOST. Do not send this message by calling SendMessage with HWND_BROADCAST.

Requirements


windows_programming_notes.nbk: Home | Index | Next Page: win32 msgs: WM_TIMER | Previous Page: win32 msgs: WM_SETTINGCHANGE


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