Results 1 to 4 of 4

Thread: Change cursor on desktop

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    157

    Change cursor on desktop

    Hello,

    I've posted this thread which talks about detecting mouse events on desktop:
    http://www.vbforums.com/showthread.php?t=464827

    I would like to change the cursor when I click with the mouse.
    For example, I press mouse button down, then the cursor changes and wherever it is (on desktop or a window) it stay like this until I unpress this button (on mouse up events). This can be done with setcapture and releasecapture api when you want this on your form...

    Can be done like that for the desktop? Others ways to perform this problem, please?

    Thanks in advance.

  2. #2
    Fanatic Member robbedaya's Avatar
    Join Date
    Jul 2002
    Location
    Belgium
    Posts
    872

    Re: Change cursor on desktop

    for example
    vb Code:
    1. screen.MousePointer = vbHourglass
    - Use the thread tools to Mark your Thread as Resolved when your question is answered.
    - Please Rate my answers if they where helpful.

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    157

    Re: Change cursor on desktop

    This is available only on the form. Since I slide the mouse cursor on desktop, it comes back as usual.

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2005
    Posts
    157

    Re: Change cursor on desktop

    Anyone has an other solution please?

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