Ah hello. Quick question this...
In my app I recently implemented code that would display a messagebox on the handling of a window message. Now this handler is in the main app (i.e. MyApp.cpp). However, when I code
I get the error
'MessageBoxA' : function does not take 1 parameters
Yet this code works fine in my view class/dialogue classes. Why ?
I can use AfxMessageBox("Some string") which will work fine, so what is the difference between the two ?
Also, MSDN states "Use the global function AfxMessageBox instead of this member function to implement a message box in your application" for CWnd::MessageBox. Why is this ?