Follow Our FB Page << CircleMedia.in >> for Daily Laughter. We Post Funny, Viral, Comedy Videos, Memes, Vines...


How we call a dialog in another dialog?

Answers were Sorted based on User's Feedback



How we call a dialog in another dialog?..

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

How we call a dialog in another dialog?..

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

Post New Answer

More MFC Interview Questions

Can you explaing the relashionship between document,frame and view ?

2 Answers  


What is the base class for MFC

3 Answers   HCL,


How can we create thread in MFC framework?

3 Answers  


what is the size of a process

2 Answers   E Logic, IBM,


What is model and modeless dialog box ? Give some examples?

2 Answers   Mphasis,






1)does Frame Thickness in MFC?

1 Answers   winfoware,


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is difference between the TCP/IP and UDP socket

5 Answers   Invensys,


What is the difference between Struts and JSF? Pls list some most suitable differences.

0 Answers  


What are the types of button controls?

10 Answers  


If i derive a new class from CObject what are the basic features my derived wil get ?

4 Answers   Microsoft,


how do u identify RTTI in vc++

4 Answers   Siemens,






Categories