Changing Mouse Cursor

N

netquest

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.
 
S

Seo Sanghyeon

netquest said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,901
Members
47,439
Latest member
elif2sghost

Latest Threads

Top