Article View: comp.os.os2.programmer
Article #2385Re: Modifying Button Appearance
From: Alan Ballard
Date: Sat, 02 Feb 1991 00:38
Date: Sat, 02 Feb 1991 00:38
15 lines
1330 bytes
1330 bytes
In article <1991Feb1.191251.14548@terminator.cc.umich.edu> jwh@bodwin.ifs.umich.edu (Jim Howe) writes: >Without resorting to a user drawn button, is there a way to change >the appearance of button controls that are displayed on either >dialog or regular windows? For example, can you change the foreground, >background colors, font used for the text, etc.? With OS/2 1.2 and later, you can set all of these with the WinSetPresParam API. See Vol 4 of the Microsoft Programmer's reference. Alan Ballard | Internet: ballard@ucs.ubc.ca University Computing Services | Bitnet: USERAB1@UBCMTSG University of British Columbia | Phone: 604-228-3074 Vancouver B.C. Canada V6R 1W5 | Fax: 604-228-5116
Technical Details
Message-ID:
<1991Feb2.003832.16307@unixg.ubc.ca>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!mit-eddie!uw-beaver!ubc-cs!unixg.ubc.ca!cheddar.ucs.ubc.ca!ballardReferences:
<1991Feb1.191251.14548@terminator.cc.umich.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!usc!snorkelwacker.mit.edu!mit-eddie!uw-beaver!ubc-cs!unixg.ubc.ca!cheddar.ucs.ubc.ca!ballard From: ballard@cheddar.ucs.ubc.ca (Alan Ballard) Newsgroups: comp.os.os2.programmer Subject: Re: Modifying Button Appearance Message-ID: <1991Feb2.003832.16307@unixg.ubc.ca> Date: 2 Feb 91 00:38:32 GMT References: <1991Feb1.191251.14548@terminator.cc.umich.edu> Sender: news@unixg.ubc.ca (Usenet News Maintenance) Distribution: na Organization: Computing Services, University of British Columbia Lines: 15