From: Earnie B. <ear...@ya...> - 2003-03-24 12:35:52
|
Perhaps we should make CGF aware of this. Earnie. -------- Original Message -------- Subject: [Mingw-notify] [ mingw-Bugs-598054 ] Windres doesn't allow integer ctrl names Date: Mon, 24 Mar 2003 02:43:01 -0800 From: SourceForge.net <no...@so...> To: no...@so... This list is used to send updates of submitted patches, bug reports and file releases. You are discouraged from posting to this list. If you wish to unsubscribe you can do so at https://lists.sourceforge.net/lists/listinfo/mingw-notify.Bugs item #598054, was opened at 2002-08-21 10:55 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=598054&group_id=2435 Category: binutils Group: Feature requests Status: Open Resolution: None Priority: 5 Submitted By: Luke Dunstan (infidel) Assigned to: Luke Dunstan (infidel) Summary: Windres doesn't allow integer ctrl names Initial Comment: A user reported that windres does not support bitmap- style static controls such as: DLG_101 DIALOGEX 0, 0, 132, 95 ... CONTROL MYPICTURE, IDB_BITMAP, "Static", SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN, 6, 7, 120, 40 END MYPICTURE BITMAP c:\app\peek.bmp MYPICTURE is #defined integer identifier, but windres only allows an (optional) quoted string for the first parameter of a dialog control. From what I have tried, MS RC supports integers for any control name, including e.g. PUSHBUTTONS (not just CONTROL controls). Windres was modified to support integers for ICON controls, so I propose that this be extended to all controls. I will start work on this change whenever I am able. ---------------------------------------------------------------------- >Comment By: Luke Dunstan (infidel) Date: 2003-03-24 18:43 Message: Logged In: YES user_id=30442 No, I wasn't subscribed to binutils but I have just subscribed now. The patch does look correct so hopefully it will be accepted. ---------------------------------------------------------------------- Comment By: Danny Smith (dannysmith) Date: 2003-03-24 08:16 Message: Logged In: YES user_id=11494 Luke, have you been following this on binutils list. Ian Lance Taylor has posted a patch that seems to fix, but is waiting for feedback. Danny ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2003-01-06 20:23 Message: Logged In: YES user_id=15438 Luke, is this fixed with the just announced release of binutils? Earnie. ---------------------------------------------------------------------- Comment By: Luke Dunstan (infidel) Date: 2002-09-08 12:40 Message: Logged In: YES user_id=30442 No. FYI, a proper test case is: #include <windows.h> 101 DIALOGEX 0, 0, 200, 200 BEGIN CONTROL "stringid", 102, "Static", SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN, 5, 5, 10, 10 CONTROL 300, 103, "Static", SS_BITMAP | SS_CENTERIMAGE | SS_SUNKEN, 20, 20, 30, 30 END The second control is rejected by windres because it uses an integer for the 'name' field instead of a string. In a working program you would need to define a corresponding bitmap resource: 300 BITMAP foo.bmp ---------------------------------------------------------------------- Comment By: Earnie Boyd (earnie) Date: 2002-09-08 04:48 Message: Logged In: YES user_id=15438 Is this fixed with the 09/03 version of binutils? Earnie. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=102435&aid=598054&group_id=2435 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ MinGW-notify mailing list Min...@li... https://lists.sourceforge.net/lists/listinfo/mingw-notify |