🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Modifying Button Appearance

#2430
From: Larry Salomon
Date: Wed, 27 Feb 1991 14:34
14 lines
1169 bytes
From article <1991Feb1.191251.14548@terminator.cc.umich.edu>, by jwh@bodwin.ifs.umich.edu (Jim Howe):
> 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.?  I want to be able
> to do this on an individual button basis, i.e. in one window I might
> want to have a red button, a blue button and a green button.  Any
> help would be appreciated.

I never actually did this, but I'm 99% sure you can use WinSetPresParam
to change all kinds of things if you know what to pass as arguments (I don't).

Cheers,
Q
Technical Details
Message-ID: <13316@hubcap.clemson.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!samsung!emory!hubcap!ibmman
References: <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!swrinde!zaphod.mps.ohio-state.edu!samsung!emory!hubcap!ibmman
From: ibmman@eng.clemson.edu (Larry Salomon)
Newsgroups: comp.os.os2.programmer
Subject: Re: Modifying Button Appearance
Message-ID: <13316@hubcap.clemson.edu>
Date: 27 Feb 91 14:34:23 GMT
References: <1991Feb1.191251.14548@terminator.cc.umich.edu>
Sender: news@hubcap.clemson.edu
Distribution: na
Lines: 14