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 |
What are the types of button controls?
what is the size of a process
what is the use of AFX_MANAGE_STATE ?
What is the difference between the Encapsulation and Abstraction
25 Answers HCL, Invensys, TCS, Wipro,
What view class enables you to use an edit control as a view?
Whats is DDX & DDV in MFC?
What four types of properties are supported by an ActiveX control?
What are the advantages of using Doc/View or SDI over DialogBox
I have 2 threads. One thread prints odd numbers and the second thread prints even numbers. Now, I have to execute the threads alternatively so that i can output 1,2,3,4,5,6,..... write code for this?
What are the differences between MFC Exception macros and C++ exception keywords?
What is the command routing in MFC framework?
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