[comp.os.os2.misc] PM problem: Changing fonts in Dialogue Boxes

gordon@hpbblb.bbn.hp.com (Gordon MacKinney) (12/14/90)

I am developing a PM application under OS/2 1.1.  I created this
great listbox that recieves database queries, but alas, the
default font in PM is proportional text.  That means that all of
the columns are screwed up, i.e. nothing lines up correctly.  

So far I've tried adding the 'PRESPARAMS PP_FONTNAMESIZE,
"courier.fon"' in my listbox control statement, only to discover
that these keywords are only recognized in OS/2 1.2.  That's also
true for the commands like WinSetPresParams, etc. that would
undoubtedly be useful for a problem like this.

Does anyone have any idea (besides tossing out the CONTROL
statement, creating a listbox using WinCreateWindow, and using
Gpi functions) how to change the font of a listbox control in a
resource under 1.1.  As usual, it's urgent because of a deadline
(but then, what isn't?)

Thanks,
Gordon MacKinney
gordon@hpbblb.bbn.hp.com