467,075 Members | 997 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,075 developers. It's quick & easy.

Changing Mouse Cursor


Hi,

I have a tiny script that launches an instance of Internet Explorer. Is
it possible for me to also change the mouse pointer, for that
application or even the desktop, to a transparent bitmap of my choosing?
If so, hints on where to start are welcome. My intention is to have a
circle or a rectangle for the cursor.

Thanks.

Jul 18 '05 #1
  • viewed: 3175
Share:
1 Reply
netquest <ne******@sympatico.ca> wrote:
Is it possible for me to also change the mouse pointer, for that
application or even the desktop, to a transparent bitmap of my choosing?
If so, hints on where to start are welcome. My intention is to have a
circle or a rectangle for the cursor.


I assume your platform is Windows, from your phrase "Internet Explorer".
If you are on Mac, the following does not apply.

Obvious starting point is MSDN:

http://msdn.microsoft.com/library/default.asp?
url=/library/en-us/winui/winui/windowsuserinterface/resources/cursors.asp

win32all package seems to have LoadCursor/SetCursor/ShowCursor in
win32api module. But if you want to use bitmap of your choice, I think
you need to use CreateCursor, and it is not wrapped by win32all.

Perhaps you can use ctypes.

Does this help?

Seo Sanghyeon
Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Geoff Soper | last post: by
3 posts views Thread by Tim | last post: by
2 posts views Thread by Jim Frazer | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.