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 the use of CCmdTarget ?

Answers were Sorted based on User's Feedback



What is the use of CCmdTarget ?..

Answer / satheeshkedarisetti

CCmdTraget has the implementation of the Message map.
Message map routes the commands & messages to the member
functions you write to handle them. Key frame work classes
derived from the CCmdtarget includes CWnd, Cview etc..

If you need new user class handel the messages, derive the
class from any of the class which are derived from
CCmdTarget.

Is This Answer Correct ?    20 Yes 5 No

What is the use of CCmdTarget ?..

Answer / abhijit

* It is the base class for MFC's message map architecture
* Message map functionality is given through its virtual
member function OnCmdMsg

*** Owing to the way message map architecture is
implemented there is no provision for multiple inheritance
in MFC (1 window can not have two parents ... if the
derived class cant handle a message... and both parents
can... which parent should handle!!!)

Is This Answer Correct ?    12 Yes 4 No

What is the use of CCmdTarget ?..

Answer / rock

CCmdTarget is used for message handling purpose and it also
handels defwindowproc()

Is This Answer Correct ?    1 Yes 4 No

What is the use of CCmdTarget ?..

Answer / meenakshi sundaram

CCmdTarget is the base class for doing automation in MFC
based COM class.

Is This Answer Correct ?    4 Yes 10 No

Post New Answer

More MFC Interview Questions

1)does Frame Thickness in MFC?

1 Answers   winfoware,


Psychic Window Technique

2 Answers   E Logic, Wild Net,


What is serialization ?which function is responsible for serializing data ?

5 Answers  


1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


Explain in sort What is CTargetObject?

2 Answers  


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


1.Get string1,string2,string3 1.add string1 and 2,string1 and 3. 2.replace vowels with T 3.count number of T. 4.remove T 5.COPY string1 to stringf. 6.restore string1. print the following 1.Number of T 2.StringF 3.string1+string2+string3 Use pointers and functions

1 Answers  


What are the types of button controls?

10 Answers  


What is thread & process?

15 Answers   Exaband,


What is the use of message map ?

5 Answers   TCS,


List out the basic features of MFC.

4 Answers   Mphasis,


What is the use of CCmdTarget ?

4 Answers  


Categories