Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
| Search | Today's Posts | Mark Forums Read
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 May 7th, 2004, 07:31 PM
Authorized User
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default insert dialog box in a dialog box

Hi to all:
    Any idea to insert dialog box in another dialog box?
    I dont want modeless of model dialog.

    Just like a picture we insert in a dialog box, i want to insert dialog box in another dialog box.

Thanks.

Burhan

 
Old May 8th, 2004, 01:04 AM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Antony
Default

What exactly you want? You can call another dialog by clicking on the dialog.



Antony
 
Old May 9th, 2004, 07:35 PM
Authorized User
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default


well, consider About Us dialog box as a control just like a tree control, picture control or any other control.

Now we can insert these control in our main dialog.
How can we insert our About Us dialog in our main dialog, just like we insert any other control.


If not clear then tell me, i will show u screen shot of my thinking.

Burhan.

 
Old May 10th, 2004, 12:19 AM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Antony
Default


Is it like pasting About us dlg over the main dialog? or calling it? i'm still not clear what you are thinking about.
If you have the screenshot pls show that.

Antony


Antony
 
Old May 11th, 2004, 07:36 PM
Authorized User
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok:

     I have another example of it.

     See at this web page. we can insert frames in web page.
     In that frame another webpage exist.

     Let say, this webpage is a dialog box.

     "This webpage is a dialog box"

     Now we can insert frame in this dialog box.
     But how can we insert another dialog box in that frame? Just like we place frame in webpage, and that frame consists another webpage.


Clear???? If not tell me email address so i can send screen shot.

Burhan


 
Old May 11th, 2004, 10:00 PM
Authorized User
 
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to Antony
Default

If you want like the innerframe in webpage, You can put all the controls of your AboutUs dlg in the main Dialog. Then AboutUs dlg wont be needed.


Antony
 
Old May 13th, 2004, 07:41 PM
Authorized User
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Yes i want this.

But i have five dialog boxes, just like five web pages.
And a button to switch 1 dialog box to another in the innerframe.

I will be a large programming if i have 20 dialogs. I dont want to insert control of each dialog box. Simply insert whole dialog box.

Is it not possible?

Burhan


 
Old June 1st, 2004, 07:53 PM
Authorized User
 
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
Default

By the way i find out solution at:

http://www.codeguru.com/Cpp/Cpp/cpp_...icle.php/c6789

That was what i required.

Thanks for every one who help me.

Burhan





Similar Threads
Thread Thread Starter Forum Replies Last Post
AJAX Dialog Box onlyyourspiyu Ajax 0 May 19th, 2008 08:43 AM
Save As Dialog Box prasanta2expert Access VBA 0 June 23rd, 2007 07:35 AM
Save dialog box mcinar Classic ASP Basics 6 January 15th, 2005 12:49 AM
Bypass a Dialog Box SerranoG Access VBA 3 December 22nd, 2004 05:00 PM
Reports Dialog Box Ben Horne Access 4 April 21st, 2004 08:40 PM





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