This is the resource script I'm using:
503 DIALOG 10, 26, 235, 50
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
CAPTION "Window Title"
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
FONT 8, "MS Shell Dlg"
{
CONTROL "Test line of text", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE, 15, 12, 165, 8
CONTROL "Enter #", -1, STATIC, SS_LEFT | WS_CHILD | WS_VISIBLE | WS_GROUP, 15, 27, 70, 8
CONTROL "", 201, EDIT, ES_LEFT | ES_AUTOHSCROLL | WS_CHILD | WS_VISIBLE | WS_BORDER | WS_TABSTOP, 95, 25, 65, 12
CONTROL "OK", 1, BUTTON, BS_DEFPUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 176, 7, 50, 14
CONTROL "Quit", 2, BUTTON, BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP, 176, 24, 50, 14
}[/quit]
When I compile this with MinGW, I keep getting errors in the script. Does anyone see what's wrong with it or how to get it to work? So far, the only thing I've gotton to work resource-related is icons.