What is a message map, and what is the advantage of a
message map over virtual functions?
Answer / raju
Message Map is a logical table that maps the windows
messages to the member functions of the class.
Message map is to avoid following drawbacks:
1) Most windows only process a small number of messages,
yet each window require to giant virtual function table
with the entries of each message.
2) Virtual functions don't handle user defined messages and
other custom cases.
| Is This Answer Correct ? | 12 Yes | 0 No |
How to handle dynamic menus in MFC?
Explain the flow of SDI application?
What is the base class for MFC Framework ?
Differ GetMessage, PostMessage & PeakMessage?
What is model and modeless dialog box ? Give some examples?
Given two processes, how can they share memory?
1)How to change the size of a button at run time ?
What is a message map, and what is the advantage of a message map over virtual functions?
i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required
How to find the mouse entering an image?..while entering need to display next image...
What MFC base classes provide support for ActiveX controls?
What is mfc class hierarchy?