Dialog box resources and windres

Arthur Jerijian lightman-aj@usa.net
Fri Feb 19 19:22:00 GMT 1999


I need to specify a dialog box resource, but 
windres (from Cygwin b20) gives me a "parse 
error" whenever I include it in my resource 
script. The relevant piece of my .rc file is 
given below.
Could this be a possible windres bug, or am I 
not specifying this dialog box correctly?
Thanks,
--Arthur
/* Dialog boxes */
DLG_About DIALOG 20, 20, 400, 400
STYLE WS_POPUP | WS_DLGFRAME
CAPTION "About TiWINdity"
FONT 8, "MS Sans Serif"
{
	ICON	"ICO_tw", -1, 8, 8, 0, 0
	CTEXT	"TiWINdity - Win32 interface for 
TiMidity", -1, 0, 0, 300, 8
	CTEXT	"Version 1: March 1, 1999", -1, 0, 8, 
300, 8
	CTEXT	"by: Arthur Jerijian (lightman-
aj@usa.net)", -1, 0, 16, 300, 8
	CTEXT	"Copyright (C) 1999 Arthur Jerijian", -
1, 0, 32, 300, 8
	CTEXT	"This program is free software; you can 
redistribute it and/or modify", -1, 0, 48, 300, 8
	CTEXT	"it under the terms of the GNU General 
Public License as published by", -1, 0, 56, 300, 
8
	CTEXT	"the Free Software Foundation; either 
version 2 of the License, or", -1, 0, 64, 300, 8
	CTEXT	"(at your option) any later version.", -
1, 0, 72, 300, 8
	CTEXT	"This program is distributed in the 
hope that it will be useful,", -1, 0, 88, 300, 8
	CTEXT	"but WITHOUT ANY WARRANTY; without even 
the implied warranty of", -1, 0, 96, 300, 8
	CTEXT	"MERCHANTABILITY or FITNESS FOR A 
PARTICULAR PURPOSE. See the", -1, 0, 104, 300, 8
	CTEXT	"GNU General Public License for more 
details.", -1, 0, 112, 300, 8
	CTEXT	"You should have received a copy of the 
GNU General Public License", -1, 0, 128, 300, 8
	CTEXT	"along with this program; if not, write 
to the Free Software", -1, 0, 136, 300, 8
	CTEXT	"Foundation, Inc., 59 Temple Place, 
Suite 330, Boston, MA 02111-1307 USA", -1, 0, 
144, 300, 8
	DEFPUSHBUTTON "OK", IDOK, 130, 152, 32, 14, 
WS_GROUP
}
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /