Share via


CWnd::OnTimeChange

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

afx_msg void OnTimeChange( );

Remarks

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.

Requirements

Header: afxwin.h

See Also

Reference

CWnd Class

Hierarchy Chart

SendMessage

WM_TIMECHANGE