Re: [Dev-C++] dialog box creation error
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <Dan...@ao...> - 2002-03-10 03:04:06
|
Flavio de Souza writes:
>In a message dated 3/9/2002 5:24:11 PM Central Standard Time, >
fla...@ne... writes:
> >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",
> >
The only parse error I see is that you didn't enclose each line that had a "
in it. with an opposing one. This may help solve you problem:
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
Hopefully this will help solve your parse error.
Danny
|