This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Windres style bug with DIALOG boxes
- To: cygwin@sourceware.cygnus.com
- Subject: Windres style bug with DIALOG boxes
- From: Tibor Biczo <crown@mail.matav.hu>
- Date: Mon, 09 Aug 1999 23:44:13 +0200
Hi,
Windres adds the WS_BORDER, WS_POPUP, WS_SYSMENU style flags
to every DIALOG box definitions by default. This is a bug, I think,
as you can't define template dialog boxes for example to extend
the standard OpenFile dialog box. These kind of templates need specific
style flags, and the above mentioned defaults make them unusable...
To correct this I think you only have to modify binutils/rcparse.y
in the binutils package, you should look for the lines
dialog.style = WS_POPUP | WS_BORDER | WS_SYSMENU;
and should change it to
dialog.style = 0;
As I'm not completely familiar with the insides of binutils, I'd like
if someone could double-check if that's all what need to be changed,
and could pass a patch to the binutils folks....
Thanks,
Tibor Biczo
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com