Multiple Dialog boxes
I still refer to my calculator application (as I did in http://cboard.cprogramming.com/windows-programming/98943-variable-type-issue.html)
If the main window is dialog box is it possible to open a new dialog box which wont be TASK-MODAL... I am just wondering because it would be quite understandable if it was not possible
Yes, of course it's possible. With Win32, you can just create the window and show it, and it will remain open until you close it.
Don't forget that you need a message pump for the window, as well, which might probably mean creating it in another thread.
It is possible, but I havent done it in awhile, so I cant remember how I did it, although I think it was just a setting when you create the dialog box.
Sorry if all I could do was encourage you to keep looking.
Elysia, I think he wants it to be a Diablog box, not a regular window.
A dialog box is basically a window, is it not?
It is and it isnt, they are handled differently by the Win32 API. For example, the MessageBox() function opens a thread modal dialog box, which essentially blocks until the user selects one of the buttons. Custom dialog boxes can be made amodal or you can open a thread that does nothing but handle a modal dialog box then exit. There are probably half a dozen or more ways to do what the OP wants. It all comes down to whether he is using Standard Win32, MFC, ATL, etc.
Originally Posted by Elysia