Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Markus Thies
Thu, 13 Jun 1991 15:24
Problems with RC.EXE and PRESPARAMS
Author: Markus Thies
Date: Thu, 13 Jun 1991 15:24
Date: Thu, 13 Jun 1991 15:24
50 lines
1901 bytes
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
------------------------------------------------------------------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads