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

How many types of combo box are their

2 Answers   Aaditya Info Solutions, E Logic,


How to convert the content of buffer into lower case character.

3 Answers   E Logic,


what is message loop how mfc does it internally?

4 Answers   Aspire,


is it possible to display a window .without using windowclass

1 Answers   E Logic,


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

11 Answers   Infosys,






Whats is DDX & DDV in MFC?

1 Answers   HCL,


What is the difference between regular dlls and extended dlls?

2 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


What?s the difference between Modal and Modeless Dialog?

12 Answers   Jekson, Usl India,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the use of UpdateData funciton ?

7 Answers  


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


Categories