|
From: Flavio de S. <fla...@ne...> - 2002-03-09 23:22:58
|
I am trying to create a new diaolog window by I always got this error:
C:\DEV-C_~1\BIN\windres: C:\\MEUSDO~1\\PROJETOS\\WINDOW~1\\RSRC.RC:21: parse error
The code is:
IDD_ABOUT DIALOG DISCARDABLE 0, 0, 239, 66
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "My About Box"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "&OK",IDOK,174,18,50,14
PUSHBUTTON "&Cancel",IDCANCEL,174,35,50,14
GROUPBOX "About this program...",IDC_STATIC,7,7,225,52
CTEXT "An example program showing how to use Dialog Boxes\r\n\r\nby theForger",
IDC_STATIC,16,18,144,33
END
The line that is getting the error is where "STYLE" is written.
I tried to use the rresource editor and I got the same error. Is it a bug?
Please, help
Flavio de Souza
fla...@ne...
ICQ:78458203
Sertãozinho - SP
" Fazendo o que está ao nosso alcance, beneficiamos a todos.
Tentando apenas ter idéias para salvar o mundo, não ajudamos
nem a nós mesmos."
|