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 update all the views whenver document got updated ?
What is document-view architecture ? Give me one real time example for SDI ?
What is a critical section and how is it implemented?
If i derive a new class from CObject what are the basic features my derived wil get ?
What is the base class for MFC Framework ?
What is CArchive class dowes?
What is the difference between Struts and JSF? Pls list some most suitable differences.
How to handle dynamic menus in MFC?
What is the size of class
What are the types of button controls?
What interface must be supported by an ActiveX control?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,