What is a message map?



What is a message map?..

Answer / midhun kallayil madhavan

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);
}
//MIDHUN KALLAYIL MADHAVAN infomidhun@gmail.com

Is This Answer Correct ?    6 Yes 3 No

Post New Answer

More MFC Interview Questions

What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


What is the use of message map ?

5 Answers   TCS,


What function is called by a document class to notify views that the document has been changed?

2 Answers  


What is the difference between regular dlls and extended dlls?

2 Answers  


How to create a Modeless Dialog?

5 Answers  






how do u identify RTTI in vc++

4 Answers   Siemens,


What is serialization ?which function is responsible for serializing data ?

5 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


1)does Frame Thickness in MFC?

1 Answers   winfoware,


Given two processes, how can they share memory?

2 Answers   Microsoft,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


Categories