what is the use of CCmdTarget?
Answers were Sorted based on User's Feedback
Answer / abhishek kesharwani
CCmdTarget class used to process window message, any class directly or indirectly inherited from CCmdTarget will eligible for message handling..
Is This Answer Correct ? | 14 Yes | 0 No |
Answer / rajesh
MFC has implemented message maps to allow classes to handle
windows messages in much cleaner fashion. So any class
derived from CCmdTarget may have its own message map
allowing the class to handle the messages it is interested
in.
Is This Answer Correct ? | 8 Yes | 0 No |
Answer / chandtu080
For message mapping mechanism we use CCmdTarget Class
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / santhosh
cCmdTarget is the base class for message map architecture in mfc. All the messages are handled with the help of this base class.
Is This Answer Correct ? | 0 Yes | 0 No |
How can i implement the dynamic menus in MFC plz give the code
1)How to change the size of a button at run time ?
What function is called by a document class to notify views that the document has been changed?
What function is used to retrieve the currently selected index in a list box?
What is the difference between GetMessage and PeekMessage ?
What is userdefine Messages in MFC?
Do you have an idea about MFC?
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
What is a message map?
what is the use of CWinApp class?
What is the difference between hinsrtance and hprevinstance in WinMain function?
What is the base class for MFC Framework ?