thies@fb14vax.cs.uni-sb.de (Markus Thies) (06/13/91)
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
------------------------------------------------------------------