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
What is socket?
What types of threads are supported by MFC framework?
how many types of messages are their
1) create ToolTip in MFC?
what is message Testing ?
Psychic Window Technique
How to convert a CString variable to char* or LPTSTR?
Whats is DDX & DDV in MFC?
How to handle RTTI in MFC ?
What four types of properties are supported by an ActiveX control?
What is CSingleDocTemplate?