MFC Question:

What is a message map?

Tweet Share WhatsApp

Answer:

Message map is dynamic function locater
It can look each function if it defined

e.g

void OnWndMessage(UINT message, WPARAM wParam, LPARAM
lParam, LRESULT *pResult)

{
// function looking MESSAGE_MAPS ((DECLARED))
// if found, CWnd::OnSize(UINT nStyle, int cx, int cy);
__thisclass.OnSize(wParam, HIWORD(lParam), LOWORD(lParam);
}
//M

Download MFC PDF Read All 26 MFC Questions
Previous QuestionNext Question
How to create a button dynamically?List out the basic features of MFC?