In VB how do I change the mouse cursor of a running instance of IE tho' my application if I have the handle of the instance.
Printable View
In VB how do I change the mouse cursor of a running instance of IE tho' my application if I have the handle of the instance.
I don't know if this works but try public Declare Function SetCursor Lib "user32" Alias "SetCursor" (byval hCursor as Long) as Long
. Maybe you can do a trick with the handle of IExplorer. Somebody who knows more please help.
Thanx for the reply. But it won't work as it doesn't know that it has to change IE cursor. Also Setwindowlong won't work as it doesn't work from a different process. I'm not sure about how can I make use of SendMessage with message 'WM_SETCURSOR'. If there's another way please let me know.