🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.tools
Article #141

Question about button hiliting

#141
From: Maya
Date: Tue, 11 Aug 1992 17:04
14 lines
1032 bytes
Hello!

I have been playing with MS-windows and here is my problem:
I want to create my buttons with bitmaps on them.
I'm facing a problem with painting using the BS_USERBUTTON style.
If I repaint the entire button face for the BN_HILITE/BN_UNHILITE messages
to simulate the 'clicked' look then I get a flicker. As seen in 
Wordperfect's Open/Close/Save/Search/Speller buttons I would like to know
how to change the colour of the figures drawn in button for the
HILITE/UNHILITE messages.  Please could you send me some sample code as to
how I could do this. Thanx.


Maya
Technical Details
Message-ID: <l8fspjINN7qa@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!cheshire.Eng.Sun.COM!maya

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!sun-barr!news2me.ebay.sun.com!exodus.Eng.Sun.COM!cheshire.Eng.Sun.COM!maya
From: maya@cheshire.Eng.Sun.COM (Maya )
Newsgroups: comp.os.ms-windows.programmer.tools
Subject: Question about button hiliting
Date: 11 Aug 1992 17:04:51 GMT
Organization: Sun Microsystems Inc., Mountain View, CA
Lines: 14
Message-ID: <l8fspjINN7qa@exodus.Eng.Sun.COM>
NNTP-Posting-Host: cheshire
Keywords: buttons, hilite, flicker, color