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 |
Given two processes, how can they share memory?
1) create ToolTip in MFC?
1)At run-time, you can change the icon by calling the LoadIcon() function?
Explain Doc/View architecture
How to convert the content of buffer into lower case character.
what is the use of AFX_MANAGE_STATE ?
Tell me about different kinds of synchranization objects ?
Why not virtual functions to handle messages?
What is socket?
Why Array Index starts from Zero
What MFC base classes provide support for ActiveX controls?
How to update windows title bar dynamically?