MousePointer

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Grant from GD Technologies

    MousePointer

    I am having trouble getting the MousePointer method working.
    I am using
    frmMain.MousePo inter = vbHourglass
    ..
    ..
    ..
    ..
    ..frmMain.Mouse Pointer = vbNormal

    The pointer does not change. If I put a msgbox before the call it works
    fine. Is my code going to fast? Does windows need to be Paused?

    Help Please
    G


  • Larry Serflaten

    #2
    Re: MousePointer

    "Grant from GD Technologies" <[email protected] a> wrote[color=blue]
    > I am having trouble getting the MousePointer method working.
    > I am using
    > frmMain.MousePo inter = vbHourglass
    > ...
    > frmMain.MousePo inter = vbNormal
    >
    > The pointer does not change. If I put a msgbox before the call it works
    > fine. Is my code going to fast? Does windows need to be Paused?[/color]


    Yes, changing the mouse pointer is a very low priority task. Issue several
    DoEvents right after changing it, or issue a few (sparingly) in your code.

    Either, and sometimes both are needed. Try it and see....

    LFS




    -----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
    http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
    -----== Over 100,000 Newsgroups - 19 Different Servers! =-----

    Comment

    • J French

      #3
      Re: MousePointer

      On Tue, 18 Nov 2003 11:42:27 -0600, "Larry Serflaten"
      <Filtered@RiskO fBeingSpam.med> wrote:
      [color=blue]
      >"Grant from GD Technologies" <[email protected] a> wrote[color=green]
      >> I am having trouble getting the MousePointer method working.
      >> I am using
      >> frmMain.MousePo inter = vbHourglass
      >> ...
      >> frmMain.MousePo inter = vbNormal
      >>
      >> The pointer does not change. If I put a msgbox before the call it works
      >> fine. Is my code going to fast? Does windows need to be Paused?[/color]
      >
      >
      >Yes, changing the mouse pointer is a very low priority task. Issue several
      >DoEvents right after changing it, or issue a few (sparingly) in your code.
      >
      >Either, and sometimes both are needed. Try it and see....
      >[/color]

      .... and forcing an update of the mouse by moving it by a pixel ...

      Comment

      Working...