I want some dialogboxes to be showned when my program starts, but I only know how to show one. I have included two more in my resource file.
Does every new dialogbox require a special DlgProc? What API should I use when I show them?
/Tcore
Does every new dialogbox require a special DlgProc?
Certainly if each dialog is different.
What API should I use when I show them?
If you use DialogBoxParam, the dialog box is always displayed.
If you use CreateDialogParam, you can call ShowWindow to show it on screen. Or you can specify WS_VISIBLE style in the dialog resource.Thank you!
Everything works fine now!
/Tcore
By curiosity... what is your app?
I was in trouble with dialogs too. I'm using modals dlgs but I don't feel total control of how to create/show/procs them.
Any suggestion?