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 |
What is the difference between workrer thread and UI thread
1)To Remove WS_MINIMIZEBOX in a Frame ?
what is the meaning of constant FILE EXCEEDS LENGTH LIMIT while loading from ps file to vsam in the jcl?
How to handle dynamic menus in MFC?
What is the difference between OnInitialUpdate and OnUpdate?
How to handle RTTI in MFC ?
Difference between Cclint DC & Cpaint Dc
How we call a dialog in another dialog?
If there is more than 100 control in a window how we can change the Taborder of a controls
Explain in sort What is CTargetObject?
Have you ever used win32 APIs ?
What is difference between the TCP/IP and UDP socket