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

How to handle dynamic menus in MFC?

3 Answers   HCL,


Explain the flow of SDI application?

8 Answers   Mphasis,


What is the base class for MFC Framework ?

2 Answers   Mphasis,


Differ GetMessage, PostMessage & PeakMessage?

4 Answers   Symphony,


What is model and modeless dialog box ? Give some examples?

2 Answers   Mphasis,


Given two processes, how can they share memory?

2 Answers   Microsoft,


1)How to change the size of a button at run time ?

1 Answers  


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

1 Answers  


i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required

3 Answers   Patni,


How to find the mouse entering an image?..while entering need to display next image...

4 Answers  


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


What is mfc class hierarchy?

0 Answers  


Categories