Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
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

Reply With Quote
  #2 (permalink)  
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
Reply With Quote
  #3 (permalink)  
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.

Reply With Quote
  #4 (permalink)  
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
Reply With Quote
  #5 (permalink)  
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


Reply With Quote
  #6 (permalink)  
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
Reply With Quote
  #7 (permalink)  
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


Reply With Quote
  #8 (permalink)  
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

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 02:11 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.