This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Windres style bug with DIALOG boxes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]