|
|
 |
| 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 p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
|
 |

May 7th, 2004, 08:31 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 8th, 2004, 02:04 AM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
What exactly you want? You can call another dialog by clicking on the dialog.
Antony
|

May 9th, 2004, 08:35 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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.
|

May 10th, 2004, 01:19 AM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 11th, 2004, 08:36 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 11th, 2004, 11:00 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

May 13th, 2004, 08:41 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|

June 1st, 2004, 08:53 PM
|
|
Authorized User
|
|
Join Date: Apr 2004
Location: Lahore, , Pakistan.
Posts: 43
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
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
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
 |