now i finally got the resource to build but i'm having more troubles. in my code i successfully get to this line and execute the DialogBox() function as such
but it doesn't bring up my dialog and i have no idea why not!
DialogBox(hInst, "OptDlg", hwnd, (DLGPROC)OptDlgProc);
here is the resource file that defines the dialog
what am i doing wrong? shouldnt it bring up the dialog? oh, and the "resources.h" file only contains a "#define IDD_OKAY 1" for the dialog's button. what's the problem with my code?
OptDlg DIALOG 18, 18, 142, 192
CAPTION "Quizer Options"
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
DEFPUSHBUTTON "Okay", IDD_OKAY, 32, 50, 30, 14,
WS_CHILD | WS_VISIBLE | WS_TABSTOP