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

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

4 Answers   Microsoft,


If there is more than 100 control in a window how we can change the Taborder of a controls

4 Answers   Satyam,


1)How to change a text of a button in runtime?

2 Answers  


what is message Testing ?

1 Answers   L&T,


How to create a Modeless Dialog?

5 Answers  


How to setup a timer?

3 Answers   IBM,


Given two processes, how can they share memory?

2 Answers   Microsoft,


what is the use of CWinApp class?

3 Answers   Mphasis,


What is difference between the TCP/IP and UDP socket

5 Answers   Invensys,


What is #progma and where it is used?

5 Answers   L&T,


what is the difference between SDI and MDI

15 Answers   CMC, HCL, Siemens,


Types of DLL's

11 Answers   Invensys,


Categories