Path: 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 As the subject states, I have difficulties processing following statements with RC.EXE : #include ... 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 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 ------------------------------------------------------------------