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

Why not virtual functions to handle messages?

5 Answers  


what is the difference between compiling and building?

1 Answers  


Explain about MDI and CMultiDocTemplate ?

2 Answers  


How we call a dialog in another dialog?

2 Answers  


Explain Doc/View architecture

6 Answers   Huawei,






How to handle command line arguements from simple MFC application ?

2 Answers   TCS,


Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?

2 Answers   Sony,


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer

1 Answers   TCS, Tech Mahindra,


what is the use of CCmdTarget?

4 Answers   Siemens,


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


Categories