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

Explain about MDI and CMultiDocTemplate ?

2 Answers  


how does conditionally close the Dialog Box ?

2 Answers   Infotech,


1)How to change the size of a button at run time ?

1 Answers  


How we call a dialog in another dialog?

2 Answers  


What is LoadLibrary function returns?

7 Answers  


Does the application have more than one object? If Yes, Briefly explain.

2 Answers   Soltius Infotech,


what is the component of CLR ?

8 Answers   AZTEC, Symphony,


What is LPCTSTR? What does LP denote it?

4 Answers  


Tell me the work of HTREDUCE and HTZOOM

1 Answers   E Logic,


What interface must be supported by an ActiveX control?

2 Answers  


What is the initial function to be called in MFC and what it will do

11 Answers   Infosys,


How to convert a CString variable to char* or LPTSTR?

5 Answers   Dover,


Categories