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 four types of properties are supported by an ActiveX control?
Explain Doc/View architecture
What is the use of OninitDialog ?
How WM_PAINT message gets called in MFC,please explain it . a)Who calls the WM_PAINT message? b)When it gets called? c)how it comes to message queue? Please Explain it
how does conditionally close the Dialog Box ?
1)why we cant create more than one instance of the class Derived from CWinApp
What is the difference between Struts and JSF? Pls list some most suitable differences.
what is functioning of DIalodDataXchange ..?
How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?
Why not virtual functions to handle messages?
How we call a dialog in another dialog?
how u can move CDC pointer to one line in cview?