In the class CMainWnd Define the member variable CString strTime and assigning it in OnTimer will update it and NCPaint will Display it.

Remember there can be painting issue of the Non-Client Window