i have a dialog that is called from a main window. but, once i call the dialog i ShowWindow(hwndParent, SW_HIDE) and hide the main window so that the dialog makes it look like the dialog has become the "main window" to continue from.
but i have run into a couple of problems with this. first off, when i hide the main window, that little "menu bar title" goes away and even with the dialog box up there is no tab on the menu bar (you know, where the "Start" is found in Windows). so how do i bring that back? and also this dialog doesn't have an icon to the left of the caption. it's not crucial, but is there a way to get one there?
here's what my dialog definition looks like so far:
what should i do to further meet my expectations of this dialog?Code:OptDlg DIALOG 5, 5, 150, 100 STYLE DS_MODALFRAME | WS_VISIBLE | WS_SYSMENU | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | DS_MODALFRAME CAPTION "Quizer Options/Settings" { DEFPUSHBUTTON "Okay", IDD_OKAY, 32, 50, 30, 14, WS_CHILD | WS_VISIBLE | WS_TABSTOP }
thanks!
ps, attached is a screenshot of this dialog that i'm talking about. thanks again!



LinkBack URL
About LinkBacks



