WndProc() in MFC

I am working with a third party application manager. In their documentation, I need to handle their messages by calling their method ami_GetMessage() as follows:

WndProc(hWnd, message, wParam, lParam)
{
switch (message)
{
// handle window messages here

default:
message_type = ami_GetMessage(message, wParam, lParam);
....
}
}

However, my application is an MFC app which uses message maps and not WndProc(). Is it possible to use WndProc() in an MFC app If so, how.

Thanks



Answer this question

WndProc() in MFC