Click to See Complete Forum and Search --> : Open another dialog
Ragnar
Aug 6th, 2001, 01:51 AM
What's the code for opening another dialog with a buttonclick?
OnOK
{
// code for opening AboutDialog
}
parksie
Aug 6th, 2001, 06:08 AM
Use the DialogBox function :) Actually it's a macro but I'm not quibbling...
Chris
Aug 6th, 2001, 09:55 AM
use the CreateDialog API function call, but you need to have the CALLBACK for this dialog ready first.
:)
abdul
Aug 6th, 2001, 10:49 AM
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:)
parksie
Aug 6th, 2001, 10:52 AM
Umm...you can, but one will be modal relative to the other :)
See my dialogue box example for how to show one...
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.