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
Posted on 2001-06-01 06:49:00 by 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.
Posted on 2001-06-01 09:34:00 by Iczelion
Thank you! Everything works fine now! /Tcore
Posted on 2001-06-01 09:55:00 by 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?
Posted on 2001-06-02 09:35:00 by wolfao