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 function is called by a document class to notify views that the document has been changed?

2 Answers  


Tell us something about MFC?

7 Answers   Microsoft,


if no message handler is available for a message then will deal with the message ? does window proving any default mechanism?

2 Answers   Patni,


How do I create a dialog box in mfc?

0 Answers  


What is the use of UpdateData funciton ?

7 Answers  


1)dynamic creation of a Button ?

2 Answers   TCS,


how to give colour for dialog button or static buuto?any one explain full code ?pls pls

3 Answers  


visual Pogramming c++ coding for create a paint application.. (Please someone help me)

2 Answers  


What is the difference between OnInitialUpdate and OnUpdate?

5 Answers  


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

2 Answers  


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  


What is the size of class

18 Answers   Aircom,


Categories