What's the code for opening another dialog with a buttonclick?
Code:OnOK
{
// code for opening AboutDialog
}
Printable View
What's the code for opening another dialog with a buttonclick?
Code:OnOK
{
// code for opening AboutDialog
}
Use the DialogBox function :) Actually it's a macro but I'm not quibbling...
use the CreateDialog API function call, but you need to have the CALLBACK for this dialog ready first.
:)
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:)
Umm...you can, but one will be modal relative to the other :)
See my dialogue box example for how to show one...