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 |
what is the use of AFX_MANAGE_STATE ?
Explain the flow of SDI application?
How to convert a CString variable to char* or LPTSTR?
What is a message map, and what is the advantage of a message map over virtual functions?
What view class enables you to use an edit control as a view?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
What is the difference between GetMessage and PeekMessage ?
Does the application have more than one object? If no, then what is the reason?
Differ GetMessage, PostMessage & PeakMessage?
is there any class which is not derived from Cobject
If there is more than 100 control in a window how we can change the Taborder of a controls
What is the difference between Extension DLL and Regular DLL?