Which Macro is a Super set of other two macro
DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE.
?
Answers were Sorted based on User's Feedback
Answer / vasanth
DECLARE_SERIAL is super set for other 2 macros since The
DECLARE_SERIAL macro includes all the functionality of
DECLARE_DYNAMIC and DECLARE_DYNCREATE.
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / deepak
it looks a wrong question to me .. there is no role of superset or subset here
in afx.h these are like :
*************************************************
#define IMPLEMENT_DYNAMIC(class_name, base_class_name) \
IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, 0xFFFF, NULL, NULL)
#define IMPLEMENT_DYNCREATE(class_name, base_class_name) \
CObject* PASCAL class_name::CreateObject() \
{ return new class_name; } \
IMPLEMENT_RUNTIMECLASS(class_name, base_class_name, 0xFFFF, \
class_name::CreateObject, NULL)
#define IMPLEMENT_SERIAL(class_name, base_class_name, wSchema) \
CObject* PASCAL class_name::CreateObject() \
{ return new class_name; } \
*************************************************
so where is SUPER Class in it .it's a wrong question
| Is This Answer Correct ? | 5 Yes | 0 No |
what if we provide two message handler for same message ?
What view class enables you to use an edit control as a view?
What is the difference between hinsrtance and hprevinstance in WinMain function?
In MFC By Using Communication Between Dialog Boxes,How Can We Send Message Of one Dialog Box To Another Dialog.?
3 Answers Financial Technologies,
Why Array Index starts from Zero
What is thread & process?
1)How to change the size of a button at run time ?
What is the difference between regular dlls and extended dlls?
how does the UIThread and worker thread communicates and handle events
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
1) Enable or disable a Cancel button at run time?
How you find memory leaks?