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 CArchive class dowes?
1) Enable or disable a Cancel button at run time?
Can you explaing the relashionship between document,frame and view ?
What is a message map?
1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions
1)To Remove WS_MINIMIZEBOX in a Frame ?
If application hangs while SendMessage is waiting for the result, how you handle it?
Difference between Debug and Release versions?
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
What is the base class for MFC Framework ?
Hi can anyone explain about the synchronization objects types and where we are using in the code.
If i derive a new class from CObject what are the basic features my derived wil get ?