Windres style bug with DIALOG boxes

Tibor Biczo crown@mail.matav.hu
Mon Aug 9 14:48:00 GMT 1999


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



More information about the Cygwin mailing list