Thread View: comp.os.os2.programmer
1 messages
1 total messages
Started by Gordon MacKinney
Thu, 13 Dec 1990 16:20
PM problem: Changing fonts in Dialogue Boxes
Author: 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
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