Article View: comp.os.os2.programmer
Article #1719PM problem: Changing fonts in Dialogue Boxes
From: Gordon MacKinney
Date: Thu, 13 Dec 1990 16:20
Date: Thu, 13 Dec 1990 16:20
20 lines
1311 bytes
1311 bytes
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
Technical Details
Message-ID:
<28020001@hpbblb.bbn.hp.com>Path:
arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!shelby!unix!hplabs!hpcc05!hpbbn!hpbblb!gordonShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!agate!shelby!unix!hplabs!hpcc05!hpbbn!hpbblb!gordon From: gordon@hpbblb.bbn.hp.com (Gordon MacKinney) Newsgroups: comp.os.os2.programmer Subject: PM problem: Changing fonts in Dialogue Boxes Message-ID: <28020001@hpbblb.bbn.hp.com> Date: 13 Dec 90 16:20:20 GMT Organization: HP Computer Systems Boeblingen Lines: 20