Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What four types of properties are supported by an ActiveX control?

1 Answers  


Explain Doc/View architecture

6 Answers   Huawei,


What is the use of OninitDialog ?

11 Answers   HCL, Nagarro,


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

8 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


1)why we cant create more than one instance of the class Derived from CWinApp

5 Answers   Alstom,


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

0 Answers  


what is functioning of DIalodDataXchange ..?

0 Answers  


How to handle dynamic menus in mfc? What happens when client calls cocreateinstance?

0 Answers  


Why not virtual functions to handle messages?

5 Answers  


How we call a dialog in another dialog?

2 Answers  


how u can move CDC pointer to one line in cview?

2 Answers  


Categories