🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Hide Mouse Pointer after an idle period?

#522
From: Phuoc
Date: Sat, 26 Jan 2008 13:35
37 lines
1767 bytes
Thanks for that.
Is it possible to check mouse movement only? because I still want to allow  
key input.
I've tried SPI_SETMOUSEVANISH. But that seems only to work with edit box  
when a cursor is set.

On Sat, 19 Jan 2008 12:16:14 +1100, Remy Lebeau (TeamB)  
<no.spam@no.spam.com> wrote:

>
> "Phuoc" <xyz.home@xyz.huaonline.com.xyz> wrote in message
> news:op.t45furn6ewlac1@centrino...
>
>> and what's the best way to fire a timer? i.e. detect
>> the idle pointer and start counting the time.
>
> Look at GetLastInputInfo():
>
>     http://msdn2.microsoft.com/en-us/library/ms646302.aspx
>
>
> Gambit
>
>



-- 
===============================
I'm using BCB5 on XP Home
Technical Details
Message-ID: <op.t5jhdwx9ewlac1@centrino>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <op.t44k6rb4ewlac1@centrino> <MPG.21fad0a6cb76c217989a09@newsgroups.borland.com> <op.t45furn6ewlac1@centrino> <47914f28$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,55afad01d4e866e0
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Sun, 27 Jan 2008 00:35:46 +1100
Subject: Re: How to Hide Mouse Pointer after an idle period?
From: Phuoc <xyz.home@xyz.huaonline.com.xyz>
Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
References: <op.t44k6rb4ewlac1@centrino> <MPG.21fad0a6cb76c217989a09@newsgroups.borland.com> <op.t45furn6ewlac1@centrino> <47914f28$1@newsgroups.borland.com>
Content-Transfer-Encoding: Quoted-Printable
Message-ID: <op.t5jhdwx9ewlac1@centrino>
User-Agent: Opera Mail/9.20 (Win32)
NNTP-Posting-Host: 122.148.157.161
X-Trace: newsgroups.borland.com 1201354539 122.148.157.161 (26 Jan 2008 05:35:39 -0700)
Lines: 37
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail