🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #5124

Windows' ChooseColor() dialog...

#5124
From: Graham Thompson
Date: Tue, 11 Oct 2005 07:40
18 lines
1723 bytes
Hi all,

I've got a non-VCL app using Windows' colour selection common dialog, and 
I've got a CCHOOKPROC-conformant callback function in place so I can send 
the dialog messages etc. if necessary. I'm also using CC_RGBINIT to select 
the colour the user starts with (in fact, just in case it matters, I'm using 
CC_ANYCOLOR | CC_ENABLEHOOK | CC_FULLOPEN | CC_RGBINIT).

Everything's working as expected, but I'm up against the old problem of 
modifying the colour selection using the 'extended' side of the dialog when 
the user hasn't clicked one of the 'basic' colours first. It's not a big 
problem, I'd just like to improve the interface.

Does anyone know of a workaround for this issue?

Many thanks,

GT 
Technical Details
Message-ID: <434b6bd5$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,101e2cf2ef022e73
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Graham Thompson" <gct@faGUESS-WHAT-TO-DO-WITH-THISsl.co.uk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Windows' ChooseColor() dialog...
Date: Tue, 11 Oct 2005 08:40:24 +0100
Lines: 20
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2670
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.173.124.106
Message-ID: <434b6bd5$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1129016277 62.173.124.106 (11 Oct 2005 00:37:57 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!news.wiretrip.org!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.xsnews.nl!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail