|
| NGen (234) | ||
When trying to set my WndProc function (code at the end) as the message handler for a window class, I'm getting the following error from VC++ (2008):
The correction for this problem is suggested by the first error message, but I know that it's incorrect because this is a method and not a member. I'm completely lost here on how to do this. Any ideas? Code used (Called from a method of CWindow): WndClass.lpfnWndProc = _WndProc;_WndProc Declaration (A private method of CWindow): LRESULT CALLBACK _WndProc ( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam ); | ||
Last edited on | ||
This topic is archived - New replies not allowed.
