Wrox Programmer Forums
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 21st, 2003, 11:40 AM
Registered User
 
Join Date: Nov 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Calling New Dialog Box.

I have added a new dialog box to my MFC application. I am having trouble getting it to open up when pressing a button on my first dialog box. How can I do that.

Thanks.

 
Old December 17th, 2003, 02:30 PM
Registered User
 
Join Date: Sep 2003
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to elleetan Send a message via MSN to elleetan Send a message via Yahoo to elleetan
Default

hi, you can
CmenuDlg dlgMenu;
dlgMenu.DoModal();

or u add the class into the main class as a variable

and
write
    dlg.DoModal();
dlg is the variable of class name that u want to open






Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX Dialog Box onlyyourspiyu Ajax 0 May 19th, 2008 08:43 AM
Dialog Box problem r_taduri ASP.NET 2.0 Professional 0 October 29th, 2006 09:33 AM
Append dialog Box paul20091968 Access VBA 1 April 28th, 2006 10:56 AM
insert dialog box in a dialog box BurhanKhan Visual C++ 7 June 1st, 2004 07:53 PM
Custom Dialog Box snakedog Access 1 March 12th, 2004 09:37 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.