How we call a dialog in another dialog?
Answers were Sorted based on User's Feedback
Answer / hitesh dedhia
Using DoModal() function.
create a class of another dialog box.
and write a code in fist dialog box function.
Classname(second) variable_name;
variable_name.DoModl();
and define the new header file in fisrt dialog bob code.
like;
#include "classname.h"
Is This Answer Correct ? | 11 Yes | 0 No |
Answer / dsk
Create a new dialog and this new dialog header file ie .h
file will be added to the main dialog.
Then in main dialog on button click, create an
varaible,varaible.Domodal()function.
Is This Answer Correct ? | 6 Yes | 0 No |
i have created runtime menu -- ( admistrator ->managepackage,manage module). but now i want to open a dialog when i select manage package and any other diaolg when selecting manage module ( whole selection is at run time only ) . Please HELP .its urgently required
what if we provide two message handler for same message ?
what is the use of AFX_MANAGE_STATE ?
what is message loop how mfc does it internally?
Do you have an idea about MFC?
How to update windows title bar dynamically?
Which Macro is a Super set of other two macro DECLARE_SERIAL,DECLARE_DYNAMIC and DECLARE_DYNCREATE. ?
Explain the flow of SDI application?
What interface must be supported by an ActiveX control?
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
What is the use of message map ?
1)To Remove WS_MINIMIZEBOX in a Frame ?