🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #3205

Problems with RC.EXE and PRESPARAMS

#3205
From: Markus Thies
Date: Thu, 13 Jun 1991 15:24
50 lines
1901 bytes
As the subject states, I have difficulties processing following 
statements with RC.EXE :

#include <os2.h>
...
DLGTEMPLATE 256 ...
BEGIN
  DIALOG ...
  BEGIN
    CONTROL ...
       PRESPARAMS PP_FONTNAMESIZE, "8.Helv"
    CONTROL
  END
END

RC shows the error lines:

syntax error : undefined keyword or key name: PP_FONTNAMESIZE :
Invalid token - "42"
...

First I thought that RC.EXE doesn't include all include files,
so I added 
     #include <pmwin.h> 
where PP_FONTNAMESIZE is defined, but nothing changed.
That sounds like RC.exe does not expand the Macros correctly. 

My work around is replacing PP_FONTNAMESIZE (and any other PP_) by
its associated number, then RC.EXE works fine. But it is not a good
solution I think.

It seems that there is a bug in RC.EXE (IBM Toolkit V1.3) or have
I overlooked something ?

Another question is about the possible facenames that I can use
with PP_FONTNAMESIZE. I would like to have a bold and italic
font. Any suggestions ?

Markus

P.S.: Is there anywhere a good dialog editor accessibly, that
      allows defining the PRESPARAMS for dialog items ?

------------------------------------------------------------------
Dipl.-Inform. Markus A Thies              thies@dfki.uni-sb.de
German Research Center for AI (DFKI)      Tel.: (x49-681) 302-5253
Stuhlsatzenhausweg 3                      Fax : (x49-681) 302-5341
6600 Saarbruecken 11
Germany
------------------------------------------------------------------
Technical Details
Message-ID: <11409@sbsvax.cs.uni-sb.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!mcsun!unido!sbsvax!fb14vax!thies

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!mcsun!unido!sbsvax!fb14vax!thies
From: thies@fb14vax.cs.uni-sb.de (Markus Thies)
Newsgroups: comp.os.os2.programmer
Subject: Problems with RC.EXE and PRESPARAMS
Keywords: RC, PRESPARAMS
Message-ID: <11409@sbsvax.cs.uni-sb.de>
Date: 13 Jun 91 15:24:46 GMT
Sender: news@sbsvax.cs.uni-sb.de
Lines: 50