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 LPCTSTR? What does LP denote it?
What is #progma and where it is used?
Does the application have more than one object? If Yes, Briefly explain.
what if we provide two message handler for same message ?
How to handle dynamic menus in MFC?
What function is used to retrieve the currently selected index in a list box?
Difference between Debug and Release versions?
how many types of messages are their
Tell me about different kinds of synchranization objects ?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
If application hangs while SendMessage is waiting for the result, how you handle it?
What is a message map?