🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2082

Re: HELP with user draw buttons

#2082
From: Noel S. Gorelick
Date: Tue, 17 Nov 1992 02:51
22 lines
1605 bytes
Talib K. Morgan (tmorgan@andromeda.rutgers.edu) wrote:
: I would like to create a user draw push button that would appear clear to the 
: user of the program until they click on that button.  Could someone tell if 
: this is possible.  The userbutton, to the user, would only appear to contain
: text.  It would be really nice if I could make the pushbutton any color that I
: chose.  Is this possible?
: 
: Talib
: tmorgan@andromeda.rutgers.edu

If its not in a dialog box, it is trivial...  Just put up a window where you
want it, with whatever you want in it, and no border...  It can be made
to appear transparent.  Then just process mouse messages.

If its in a dialog, you will need a custom control...  Outta my experence.
(If you are using borland, though, their custom controls allow this
 quite easily.)

--
"You want it should sing too?"   | /*  Yeah we got dogs and Valvoline
  ngorelic@speclab.cr.usgs.gov   |     Its a pretty damn good time.    */
"Life is pain. Anyone that tells you different is trying to sell you something"
Technical Details
Message-ID: <1992Nov17.025140.21367@riacs.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!riacs!speclab.cr.usgs.gov!ngorelic
References: <Nov.16.16.15.12.1992.29842@andromeda.rutgers.edu>

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc
Path: arc1-ca.pugleaf.net!sparky!uunet!wupost!cs.utexas.edu!sun-barr!ames!riacs!speclab.cr.usgs.gov!ngorelic
From: ngorelic@speclab.cr.usgs.gov.cr.usgs.gov (Noel S. Gorelick)
Subject: Re: HELP with user draw buttons
Message-ID: <1992Nov17.025140.21367@riacs.edu>
Sender: news@riacs.edu
Reply-To: ngorelic@speclab.cr.usgs.gov
Organization: MercWorks, Denver
X-Newsreader: TIN [version 1.1 PL6]
References: <Nov.16.16.15.12.1992.29842@andromeda.rutgers.edu>
Date: Tue, 17 Nov 92 02:51:40 GMT
Lines: 22