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 to setup a timer?

3 Answers   IBM,


what is the difference between compiling and building?

1 Answers  


How to handle dynamic menus in MFC?

3 Answers   HCL,


1) Enable or disable a Cancel button at run time?

1 Answers   HCL,


How to handle RTTI in MFC ?

1 Answers  






What is a critical section and how is it implemented?

2 Answers  


I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?

1 Answers  


1)To Remove WS_MINIMIZEBOX in a Frame ?

1 Answers  


What is the base class for MFC

3 Answers   HCL,


Hi All, I have created one MFC Dialog Based application.now if i am running the application its working fine,instead of closing he application i minimized the application,if i run the application again,i am getting the Dialog. I want to prevent the calling of application multiple times. please give me the code and let me know in which method i need to make changes. Praveer

7 Answers   HP,


what is functioning of DIalodDataXchange ..?

0 Answers  


1)dynamic creation of a Button ?

2 Answers   TCS,


Categories