CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 1999
    Location
    India
    Posts
    14

    Remote changing of Mouse Cursor

    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.


  2. #2
    Join Date
    Oct 1999
    Location
    Holland
    Posts
    34

    Re: Remote changing of Mouse Cursor

    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.



  3. #3
    Join Date
    Aug 1999
    Location
    India
    Posts
    14

    Re: Remote changing of Mouse Cursor

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured