MFC Question:

Download Job Interview Questions and Answers PDF

What is a message map?

MFC Interview Question
MFC Interview Question

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 Interview Questions And Answers PDF

Previous QuestionNext Question
How to create a button dynamically?List out the basic features of MFC?