Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is a message map, and what is the advantage of a
message map over virtual functions?



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

Post New Answer

More MFC Interview Questions

What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


How to access document object from view ?

1 Answers  


What is stack size in win32 program?

1 Answers   HCL,


How to handle RTTI in MFC ?

1 Answers  


What four types of properties are supported by an ActiveX control?

1 Answers  


What is Thread ?(VC++)What is the difference between Cmutex and Csemaphone?

5 Answers   Atos Origin,


Tell us something about MFC?

7 Answers   Microsoft,


What is #progma and where it is used?

5 Answers   L&T,


What is the base class for MFC Framework ?

4 Answers  


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


Which MFC function is used to display output?

9 Answers   TCS,


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

0 Answers  


Categories