I have a dialog box that if a user pushes a button another dialog box pops up. It works fine unless I add an edittext control in it and then it doesn't even show up.
Any ideas on why?
I am using Bloodshed Dev C++
Ignore the control placement, I haven't even gotten to the setting them where they go yet because it won't show right yet... If I remove the // from before the edittext it doesn't show.
IDD_BATCHADD DIALOG DISCARDABLE 0, 0, 200, 250
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Batch Frame Adding"
FONT 8, "MS Sans Serif"
LTEXT "Frame Preview:",IDC_STATIC,7,200,75,8
LTEXT "Frame Delay:",IDC_STATIC,170,123,75,8
In my DlgProc code I found that if I delete the "EndDialog" from the WM_CLOSE case it shows up fine...wtf?
I figured it out. I didn't have 'break;' in the case before WM_CLOSE. It's fixed now. Still confusing about why the EDITTEXT was making it work or not work, but oh well. It works now.