🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Mouse in screen coordinates? One more thing...

#17618
From: Remy Lebeau (TeamB)
Date: Sat, 22 Mar 2003 20:27
14 lines
1564 bytes
Use GetAyncKeyState().  Or, in the case of the mouse, simply capture the
mouse via SetCapture() while your color picker is active, so that your
window will receive all mouse clicks regardless of where the mouse is
onscreen.


Gambit

"AdrianH" <adrianha@yahooo.com> wrote in message
news:3e7c5520@newsgroups.borland.com...
> One more thing: how do I find if a key or a mouse button was
> pressed while my app has no focus and|or the mouse is not
> over my app's window - this is for picking the colors ( I will
> have a 'history' of picked colors).
Technical Details
Message-ID: <3e7cc4e8$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e7b8189@newsgroups.borland.com> <3e7bbf92@newsgroups.borland.com> <3e7c5520@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,9200f64693f5a55b
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-03-24 00:30:33 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e7b8189@newsgroups.borland.com> <3e7bbf92@newsgroups.borland.com> <3e7c5520@newsgroups.borland.com>
Subject: Re: Mouse in screen coordinates? One more thing...
Date: Sat, 22 Mar 2003 12:27:27 -0800
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e7cc4e8$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1048364264 207.175.226.26 (22 Mar 2003 12:17:44 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail