Article View: borland.public.cppbuilder.nativeapi
Article #9110Hide mouse cursor
From: Steve
Date: Mon, 02 Aug 2004 15:50
Date: Mon, 02 Aug 2004 15:50
14 lines
1391 bytes
1391 bytes
How can I hide the mouse cursor so that it is hidden when moving throughout Windows? (ie: Not just in my application.) As far as I can make out, if I call ShowCursor(false) from within my application - the mouse will only be hidden on my application. When I move over another application, or the desktop, the mouse reappears. However, I'm trying to write a low level mouse hook, and, under ceratin conditions, wish to hide the cursor from the user throughout Windows. Is there a way to achieve this?
Technical Details
Message-ID:
<410e62e3$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!news-out.octanews.net!petbe.visi.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4e0d7f4323d9870c,start X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Steve" <steve@hgl-dynamics.com> Sender: "Steve" <steve@hgl-dynamics.com> Reply-To: "Steve" <steve@hgl-dynamics.com> Subject: Hide mouse cursor Newsgroups: borland.public.cppbuilder.nativeapi X-User-Info: 217.35.87.97 X-Forwarded-For: 192.1.0.48 NNTP-Posting-Host: 207.105.83.66 Message-ID: <410e62e3$1@newsgroups.borland.com> Date: 2 Aug 2004 08:50:59 -0700 X-Trace: newsgroups.borland.com 1091461859 207.105.83.66 (2 Aug 2004 08:50:59 -0700) Lines: 14 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!newsfeed2.dallas1.level3.net!news.level3.com!zeus.visi.com!news-out.visi.com!news-out.octanews.net!petbe.visi.com!news.linkpendium.com!news.linkpendium.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail