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 |
What is the initial function to be called in MFC and what it will do
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
is it possible to display a window .without using windowclass
What is the use of message map ?
What?s the difference between Modal and Modeless Dialog?
1)why we cant create more than one instance of the class Derived from CWinApp
what is the difference between SDI and MDI
15 Answers CMC, HCL, Siemens,
List out the basic features of MFC.
What is thread & process?
how many types of classes are ther,what are that
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
how does the UIThread and worker thread communicates and handle events