CWnd::OnTimeChange 

afx_msg void OnTimeChange( );

Remarks

The framework calls this member function after the system time is changed.

Have any application that changes the system time send this message to all top-level windows. To send the WM_TIMECHANGE message to all top-level windows, an application can use the SendMessage Windows function with its hwnd parameter set to HWND_BROADCAST.

CWnd OverviewClass MembersHierarchy Chart

See Also   ::SendMessage, WM_TIMECHANGE