Is it possible to subclass the mouse pointer? 
Author Message
 Is it possible to subclass the mouse pointer?

Is it possible to subclass te mouse pointer to stay on top of all windows? I
know this sounds strange but I have an application which lets you view
fullscreen video. Is there anyway I can decide when to view the mouse
pointer like the old Windows media player let you do in fullscreen mode?

Thanks,
Gary



Fri, 09 Jul 2004 12:43:52 GMT  
 Is it possible to subclass the mouse pointer?

Quote:

> Is it possible to subclass te mouse pointer to stay on top of all windows? I
> know this sounds strange but I have an application which lets you view
> fullscreen video. Is there anyway I can decide when to view the mouse
> pointer like the old Windows media player let you do in fullscreen mode?

> Thanks,
> Gary

Dear Gary:

You can always "cheat" and move the mouse point to the
extreme bottom-right of the screen, using an API
call (SetCursorPos, IIRC).  Then, periodically, in a
timer event, you can
see if the pointer's been moved and move it back out of
the way until you do the magic keypress or whatever.

Regards,
Joe

the way.



Sat, 10 Jul 2004 03:21:27 GMT  
 Is it possible to subclass the mouse pointer?
That would be a good addition to what I want to do. What I need to do is
make the mouse visible as it is now not visible while in fullscreen video.

Thanks much,
Gary



Quote:

> > Is it possible to subclass te mouse pointer to stay on top of all
windows? I
> > know this sounds strange but I have an application which lets you view
> > fullscreen video. Is there anyway I can decide when to view the mouse
> > pointer like the old Windows media player let you do in fullscreen mode?

> > Thanks,
> > Gary

> Dear Gary:

> You can always "cheat" and move the mouse point to the
> extreme bottom-right of the screen, using an API
> call (SetCursorPos, IIRC).  Then, periodically, in a
> timer event, you can
> see if the pointer's been moved and move it back out of
> the way until you do the magic keypress or whatever.

> Regards,
> Joe

> the way.



Sat, 10 Jul 2004 06:13:28 GMT  
 Is it possible to subclass the mouse pointer?


Quote:
> Is it possible to subclass te mouse pointer to stay on top of all windows? I
> know this sounds strange but I have an application which lets you view
> fullscreen video. Is there anyway I can decide when to view the mouse
> pointer like the old Windows media player let you do in fullscreen mode?

> Thanks,
> Gary

Use the Win32 API function ShowCursor. If you pass False, the cursor will be
hidden, if you pass True, the cursor will be shown. If you call ShowCursor
(False) twice, you also have to call ShowCursor (True) twice until the cursor
will be visible.

hth
jb



Sat, 10 Jul 2004 20:40:28 GMT  
 Is it possible to subclass the mouse pointer?
I did try the showcursor function but it will not display the cursor while
in fullscreen video mode.

Thanks for your help.
Gary


Quote:


> > Is it possible to subclass te mouse pointer to stay on top of all
windows? I
> > know this sounds strange but I have an application which lets you view
> > fullscreen video. Is there anyway I can decide when to view the mouse
> > pointer like the old Windows media player let you do in fullscreen mode?

> > Thanks,
> > Gary

> Use the Win32 API function ShowCursor. If you pass False, the cursor will
be
> hidden, if you pass True, the cursor will be shown. If you call ShowCursor
> (False) twice, you also have to call ShowCursor (True) twice until the
cursor
> will be visible.

> hth
> jb



Sun, 11 Jul 2004 08:04:58 GMT  
 Is it possible to subclass the mouse pointer?


Quote:
> I did try the showcursor function but it will not display the cursor while
> in fullscreen video mode.

> Thanks for your help.
> Gary

What do you mean by "fullscreen video mode"? When I call ChangeDisplaySettings
I can still show and hide the mouse cursor.

Regards,
jb



Tue, 27 Jul 2004 22:23:27 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. I am trying to change the mouse pointer...

2. move a mouse pointer to a different location without moving the mouse

3. Invisible mouse...?...no mouse pointer...?

4. Delete subclass message, possible?

5. Is it possible to subclass a form?

6. Mouse & Subclass

7. One-Click / Mouse-over on Combo List - subclass combo question

8. Help: One-Click / Mouse-over on Combo List - subclass combo question

9. Subclass the mouse

10. How to use pointer and the pointer of pointedness pointer in vb

11. How to use pointer and the pointer of pointedness pointer in vb

12. Passing pointer to a pointer or pointer to a char to a dll

 

 
Powered by phpBB® Forum Software