delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/09/17:51:51

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-Id: <3.0.1.32.19990809234413.006b9fb0@mail.matav.hu>
X-Sender: tibor64 AT mail DOT matav DOT hu
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Date: Mon, 09 Aug 1999 23:44:13 +0200
To: cygwin AT sourceware DOT cygnus DOT com
From: Tibor Biczo <crown AT mail DOT matav DOT hu>
Subject: Windres style bug with DIALOG boxes
Mime-Version: 1.0

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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019