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

Given two processes, how can they share memory?

2 Answers   Microsoft,


What is socket?

3 Answers  


what is the difference between compiling and building?

1 Answers  


Why not virtual functions to handle messages?

5 Answers  


Tell me the different controls in MFC ?

5 Answers  


Which CPrintInfo member variable must be set for multiple page printouts?

1 Answers  


In SDI how many view's are attached to document object and in MDI how many view's are attached to Document object?

2 Answers   Wipro,


What is LPCTSTR? What does LP denote it?

4 Answers  


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

11 Answers   Infosys,


What is a message map?

1 Answers   Mphasis,


1)How to change a text of a button as Dynamically?

1 Answers   HCL,


How to convert the content of buffer into lower case character.

3 Answers   E Logic,


Categories