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 is the updated verssion in vc++

3 Answers   Aspect,


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

2 Answers   Soltius Infotech,


What is CALLBACK? How it work? what is the advantage of CALLBACK, please explain with an example

6 Answers  


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

4 Answers   Satyam,


how does the UIThread and worker thread communicates and handle events

2 Answers   HCL,


Hi All, i am new for VC++ SDK. i want to get the IP Address of all the External device connected with my local machine.please give the code Regards, Praveer

1 Answers   TCS, Tech Mahindra,


What is the use of CCmdTarget ?

4 Answers  


What MFC base classes provide support for ActiveX controls?

2 Answers   Wipro,


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

2 Answers  


What is the difference between hinsrtance and hprevinstance in WinMain function?

3 Answers  


What is the command routing in MFC framework?

3 Answers  


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

1 Answers  


Categories