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 |
19)how to set Back Ground Picture to a Dialog Box in MFC ?
what is the size of a process
how do u identify RTTI in vc++
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
How we call a dialog in another dialog?
1)How to change a text of a button in runtime?
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example
What is Multithreading
Difference between Debug and Release versions?
How many types of combo box are their
2 Answers Aaditya Info Solutions, E Logic,
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?
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