Hi,
Is it possible to hide the mouse pointer in the display driver so that
the mouse cursor doesn’t get drawn? I am thinking if there could be a
way to set some flags or something so that the call to draw the mouse
surface doesn’t get called or if it could be handled in copybits to
detect it’s a mouse surface and ignore it.
Mudeem
Hi,
Is it possible to hide the mouse pointer in the display driver so that
the mouse cursor doesn’t get drawn? I am thinking if there could be a
way to set some flags or something so that the call to draw the mouse
surface doesn’t get called or if it could be handled in copybits to
detect it’s a mouse surface and ignore it.
Mudeem
Mudeem Iqbal wrote:
Hi,
Is it possible to hide the mouse pointer in the display driver so that
the mouse cursor doesn’t get drawn? I am thinking if there could be a
way to set some flags or something so that the call to draw the mouse
surface doesn’t get called or if it could be handled in copybits to
detect it’s a mouse surface and ignore it.
If you implement DrvSetPointerShape and DrvMovePointer, then GDI will
call your driver handle all of the cursor drawing. You can do what you
like.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Tim,
Would this apply to mirror driver as well?
Mudeem
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, December 27, 2006 10:12 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Hide Mouse Pointer in Display Driver
Mudeem Iqbal wrote:
Hi,
Is it possible to hide the mouse pointer in the display driver so that
the mouse cursor doesn’t get drawn? I am thinking if there could be a
way to set some flags or something so that the call to draw the mouse
surface doesn’t get called or if it could be handled in copybits to
detect it’s a mouse surface and ignore it.
If you implement DrvSetPointerShape and DrvMovePointer, then GDI will
call your driver handle all of the cursor drawing. You can do what you
like.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Mudeem Iqbal wrote:
Would this apply to mirror driver as well?
To be honest, I don’t know, but it’s certainly a very easy experiment to
try.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
I am trying it right now, I’ll let you know.
Mudeem
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, December 27, 2006 11:02 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Hide Mouse Pointer in Display Driver
Mudeem Iqbal wrote:
Would this apply to mirror driver as well?
To be honest, I don’t know, but it’s certainly a very easy experiment to
try.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer
Yeah it works with mirror driver as well
Mudeem
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Tim Roberts
Sent: Wednesday, December 27, 2006 11:02 AM
To: Windows System Software Devs Interest List
Subject: Re: [ntdev] Hide Mouse Pointer in Display Driver
Mudeem Iqbal wrote:
Would this apply to mirror driver as well?
To be honest, I don’t know, but it’s certainly a very easy experiment to
try.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer