🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #2539

Re: Using WinSetPresParam to change font

#2539
From: Larry Salomon, Jr.
Date: Mon, 15 Apr 1991 15:39
21 lines
1392 bytes
In <45@motto.UUCP>, dave@motto.UUCP (David Brown) writes:
>
>Does anyone know the correct arguments for WinSetPresParam() to change
>the font of a dialog control?  According to the documentation, the ID
>value is PP_FONTNAMESIZE, but it doesn't say what the buffer contents
>and length should be.
>
>I would like to change one of my controls to use a slightly larger
>font, such as Helv 18, bold if possible.

buffer="18.Helv"
len=strlen(buffer)+1  (for the null character)

Cheers,
Larry Salomon, Jr. (aka 'Q')            LARRYS@YKTVMV.BITNET
OS/2 Applications and Tools             larrys@ibmman.watson.ibm.com
IBM T.J. Watson Research Center         larrys@eng.clemson.edu
Yorktown Heights, NY

Disclaimer:  The statements and/or opinions stated above are strictly my
own and do not reflect the views of my employer.
Technical Details
Message-ID: <1991Apr15.153857.16463@watson.ibm.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!bywater!arnor!ibmman!larrys
References: <45@motto.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!cs.utexas.edu!uunet!bywater!arnor!ibmman!larrys
From: larrys@watson.ibm.com (Larry Salomon, Jr.)
Newsgroups: comp.os.os2.programmer
Subject: Re: Using WinSetPresParam to change font
Message-ID: <1991Apr15.153857.16463@watson.ibm.com>
Date: 15 Apr 91 15:39:14 GMT
References: <45@motto.UUCP>
Sender: larrys@ibmman.watson.ibm.com
Reply-To: larrys@yktvmv
Organization: IBM Research
Lines: 21
News-Software: NewsKit 1.2 - LaMail
Nntp-Posting-Host: ibmman