CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    May 2001
    Location
    Canada
    Posts
    182

    Screen.MousePointer = vbHourglass

    Hi,
    Did anyone encounter the similar problem before? In the main screen of my project, I changed the screen mouse pointer in the Refresh function.

    Screen.MousePointer = vbHourglass

    It works sometime, but when I try to call another form by clicking a button on the main screen, it won't reset the mouse pointer to hourglass when calling the Refresh function. (I called Refresh after return from each subsequence form)

    Can you help me? Thanks.


    Regards,

    Michi

  2. #2
    Join Date
    Oct 2001
    Location
    Hyderabad,India
    Posts
    8

    Re: Screen.MousePointer = vbHourglass

    Hi,

    We also encounter the same problem. We resolved with replacing the "Screen" to the called form name.

    Ex: CalledForm.MousePointer = vbHourglass

    Do not forget to make the mousepointer to vbNormal after completion of so called work.

    Thanks,
    Vikranth.


  3. #3
    Join Date
    May 2001
    Location
    Canada
    Posts
    182

    Re: Screen.MousePointer = vbHourglass

    Thanks for your suggestion. But the problem is still there. Actually, the mouse pointer did change, but only at the last moment. It's too quick to be realized.

    Regards,

    Michi

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