|
-
Aug 6th, 2001, 01:51 AM
#1
Open another dialog
What's the code for opening another dialog with a buttonclick?
Code:
OnOK
{
// code for opening AboutDialog
}
-
Aug 6th, 2001, 06:08 AM
#2
Monday Morning Lunatic
Use the DialogBox function Actually it's a macro but I'm not quibbling...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Aug 6th, 2001, 09:55 AM
#3
PowerPoster
use the CreateDialog API function call, but you need to have the CALLBACK for this dialog ready first.
-
Aug 6th, 2001, 10:49 AM
#4
PowerPoster
I just noticed that you can't show two dialog boxes at the same time using "DialogBox"
So use "CreateDialog" and create modaless dialog box. You also need to handle the messages for that manually
-
Aug 6th, 2001, 10:52 AM
#5
Monday Morning Lunatic
Umm...you can, but one will be modal relative to the other 
See my dialogue box example for how to show one...
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|