what is the use of CCmdTarget?

Answers were Sorted based on User's Feedback



what is the use of CCmdTarget?..

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

what is the use of CCmdTarget?..

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

what is the use of CCmdTarget?..

Answer / chandtu080

For message mapping mechanism we use CCmdTarget Class

Is This Answer Correct ?    1 Yes 0 No

what is the use of CCmdTarget?..

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

Post New Answer

More MFC Interview Questions

How can i implement the dynamic menus in MFC plz give the code

2 Answers  


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

1 Answers  


What function is called by a document class to notify views that the document has been changed?

2 Answers  


What function is used to retrieve the currently selected index in a list box?

2 Answers  


What is the difference between GetMessage and PeekMessage ?

3 Answers  






What is userdefine Messages in MFC?

1 Answers   HCL,


Do you have an idea about MFC?

0 Answers   C DAC, CDAC,


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,


What is a message map?

1 Answers   Mphasis,


what is the use of CWinApp class?

3 Answers   Mphasis,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the base class for MFC Framework ?

4 Answers  


Categories