Forwarded from a user report on the public forums:
I noticed today that MFC's CWnd::OnWndMsg function doesn't seem to be current. The following code in the function,
is the vector for the CWnd::OnTimer function (among other functions). The signature of CWnd::OnTimer is:
void OnTimer(UINT_PTR nIDEvent);
Therefore, the static_cast<UINT> should be static_cast<UINT_PTR>.