What is the base class for MFC Framework ?
Answers were Sorted based on User's Feedback
Answer / nkotesh
CObject is the base class for Microsoft Foundation Classes.
It's used to support Serialization, Runtime Class
Information and Object diagonstics
| Is This Answer Correct ? | 22 Yes | 1 No |
Answer / john samuel
CObject is the principal base class for the Microsoft
Foundation Class Library. It serves as the root not only for
library classes such as CFile and CObList, but also for the
classes that you write. CObject provides basic services,
including
Serialization support
Run-time class information
Object diagnostic output
Compatibility with collection classes
| Is This Answer Correct ? | 18 Yes | 2 No |
CObject is the root base class for most of the Microsoft Foundation Class Library (MFC).
The CObject class contains many useful features that
1) Serialization
2) Debugging
3) Dynamically create Objects
4) Compatibility with Collection Classes
5) Derive your class from CObject
Use the normal syntax to derive CTharam class from CObject
class CTharam : public CObject
{
// add CTharam-specific members and functions...
}
| Is This Answer Correct ? | 1 Yes | 0 No |
Whats is DDX & DDV in MFC?
How to update all the views whenver document got updated ?
1)why we cant create more than one instance of the class Derived from CWinApp
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
2.create for 10 batch: Employee_Number Employee_name Employee_Dateofjoining Employee_address Employee_salary 1.select the employee name who deriving more than 10 thousand salary and joined before august 08. use structure and pointers
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
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
Explain Doc/View architecture
What is the base class for MFC Framework ?
is there any class which is not derived from Cobject
What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example
What is the range of intensity of RGB