Posts

Showing posts with the label MFC

MICROSOFT FOUNDATION CLASSES

MFC: CObject is the base class for most of the MFC Classes. Features: i) RUNTIME_CLASS ii) Serialize What is a Message Map?             a)  Message Maps are the way by which MFC handles the application messages. b ) Gets message from the OS, translates the message and dispatches the message to the window procedure. c ) In MFC, 'Run' method, starts the message map. d ) Classes derived from 'CCmdTarget' can contain a message map.               .h  -> DECLARE_MESSAGE_MAP()                                              a) Declares MessageMap Structure.      b) Tells the application that the class in which this is called is going to have a   messagemap and handle messages.     c) Adds three member...