--
Andy Duplain, Syntegra, Brighton, UK.
===> When mailing me, change "nospam" to "syntegra" <===
Abraham Mathew wrote in message <6lpd75$82c$1...@brokaw.wa.com>...
It seems to be fixed as grey - it doesn't change if you alter the
inactive title bar colour! Maybe it uses another setting?
Dave
----
Address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow up email copies.
http://www.bj.co.uk
Perhaps it uses inactive window border.
I myself don't like that gray look, nor do I want the focus to vanish
all the time. After all, list boxes don't do that.
It turns gray when the control receives the WM_KILLFOCUS message. I've
tried to custom-draw it away, but that doesn't work. The only way I
could keep it blue was with a custom WM_KILLFOCUS handler. The handler
gets rid of the focus rectangle with SetItemState, but does *not* call
CListCtrl::OnKillFocus.
-- Agent
If you don't want to muck with your desktop color scheme, you can
make the listbox owner-draw. The CCheckListBox code is a good example
of how to do this.
HTH, Howard Rubin
--
Advertisers using spambots, please don't send to the following addresses:
pres...@whitehouse.gov vice.pr...@whitehouse.gov first...@whitehouse.gov consum...@ftc.gov c...@ftc.gov fr...@uspis.gov u...@ftc.gov rh...@fcc.gov jqu...@fcc.gov sn...@fcc.gov rch...@fcc.gov cust...@usps.gov ad...@HARRIS-MARKETING.COM postm...@HARRIS-MARKETING.COM jmo...@SAVOYNET.COM postm...@agis.net ab...@agis.net ro...@agis.net dns-...@AGIS.NET n...@AGIS.NET hostm...@agis.net pat.co...@state.co.us ph...@agis.net webm...@agis.net postm...@cyberamish.com ab...@cyberamish.com ro...@cyberamish.com postmaster@localhost postm...@tsf-marketing.com ab...@tsf-marketing.com ro...@tsf-marketing.com postm...@TSF-INDUSTRIES.COM ab...@TSF-INDUSTRIES.COM ro...@TSF-INDUSTRIES.COM in...@tsf-industries.com
st...@quantcom.com wa...@pwr.net au...@mci.savetrees.com postm...@answerme.cybermirror1.com postm...@ispam.net pri...@answerme.cybermirror1.com priv...@answerme.com priv...@answerme.cybermirror1.com priv...@mci.savetrees.com priv...@spamford.com ro...@answerme.cybermirror1.com st...@mci.savetrees.com sta...@mci.savetrees.com wal...@answerme.cybermirror1.com wal...@auto3.cybermirror1.com wal...@ispam.net wal...@mci.savetrees.com wal...@temp.cyberpromo.com docu...@agis.net ip-re...@agis.net rou...@agis.net ne...@agis.net accou...@agis.net in...@agis.net aa...@agis.net h...@agis.net ema...@qlink2info.com sim...@answerme.com off...@savetrees.com postm...@inreach.com ab...@inreach.com ro...@inreach.com hostm...@INREACH.COM a...@INREACH.COM postm...@EMAILDIRECT.NET ab...@EMAILDIRECT.NET ro...@EMAILDIRECT.NET postm...@e-bizness.com ab...@e-bizness.com ro...@e-bizness.com com...@IAW.ON.CA maxe...@UNITED-CBE.ORG dom...@EMAILDIRECT.NET