I created an MFC dialog based app and wanted to add timer on the form. But it turns out that MFC is different than the .NET windows forms.
I added the ON_WM_TIMER() in the messagemap. and added the function definition for CMyDialog::OnTimer(UINT_PTR x) { }
But I am getting a compiler error in VS2005. I do not know what i am doing wrong. "error C2509: 'OnTimer' : member function not declared in 'CMyDialog'"
Help is greatly appreciated. Thanks.