www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/05/26/14:25:26

From: "Peter Davis" <pdavis AT wxs DOT nl>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: W95 resources
Date: Wed, 26 May 1999 19:51:04 +0200
Organization: World Access / Planet Internet
Lines: 43
Message-ID: <7ihcfd$1t9$1@reader.wxs.nl>
References: <01bea768$8a871ae0$9b77dd86 AT PC0776 DOT voeding DOT tno DOT nl> <374BED73 DOT CAB41D9A AT montana DOT com>
NNTP-Posting-Host: ut0249-1.dial.wxs.nl
X-Trace: reader.wxs.nl 927741229 1961 195.121.232.249 (26 May 1999 17:53:49 GMT)
X-Complaints-To: abuse AT wxs DOT nl
NNTP-Posting-Date: 26 May 1999 17:53:49 GMT
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

bowman heeft geschreven in bericht <374BED73 DOT CAB41D9A AT montana DOT com>...
>windres can handle both simple dialogs and property page types.

I found it strange that that would not be the case. However I can process
the following resource (from Petzold) with RC, while Windres 2.9.4 gives a
parse error at line 21:

/*---------------------------
   ABOUT1.RC resource script
  ---------------------------*/

#include <windows.h>
#include "about1.h"

About1 ICON about1.ico

About1 MENU
     {
     POPUP "&Help"
          {
          MENUITEM "&About About1...",       IDM_ABOUT
          }
     }

AboutBox DIALOG  20, 20, 160, 80
     STYLE WS_POPUP | WS_DLGFRAME
     {
     CTEXT "About1"                      -1,   0, 12, 160,  8
     ICON  "About1"                      -1,   8,  8,   0,  0
     CTEXT "About Box Demo Program"      -1,   0, 36, 160,  8
     CTEXT "(c) Charles Petzold, 1996"   -1,   0, 48, 160,  8
     DEFPUSHBUTTON "OK"                IDOK,  64, 60,  32, 14, WS_GROUP
     }

=== ends ============

best wishes

Peter Davis
Zeist
The Netherlands


- Raw text -


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