Results 1 to 4 of 4

Thread: mouse in windows

  1. #1
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    es, Brazil
    Posts
    3

    mouse in windows

    I have an application using openGL to paint 2d objects in windows 2000.
    While painting my objects and the mouse is inside my window, occurs two facts:
    1 the mouse pointer flash vary times.
    2 the draw performance are slowly.

    My application draw a lot of very complex objects, so, I paint only if needed, objects that not lie the invalidated region are not painted.
    How I can solve my problems without hiding the windows mouse cursor?

    Thanks for any help or tips.

  2. #2
    Senior Member Frequent Contributor
    Join Date
    Aug 2001
    Location
    Italy
    Posts
    625

    Re: mouse in windows

    Originally posted by Tales Aguair:
    1 the mouse pointer flash vary times.
    Some days ago something gone awry on my PC and I had to disable cursor acceleration (in the windows driver tab). The same problem appeared. I don't think GL 'itself' has something to do with it but maybe you shall try reinstalling your HW drivers.
    Originally posted by Tales Aguair:
    2 the draw performance are slowly.
    My application draw a lot of very complex objects, so, I paint only if needed, objects that not lie the invalidated region are not painted.
    Quite strange considering the care you're taking for this but I believe nothing can be said without additional info by your side.
    The drawing is slow because it takes too much to compute or what?
    Originally posted by Tales Aguair:
    How I can solve my problems without hiding the windows mouse cursor?
    I believe (1) cannot be (by GL point of view I mean). As for (2), I would point my finger at the data structures but with today's power I am quite confused about the idea.

  3. #3
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    es, Brazil
    Posts
    3

    Re: mouse in windows

    Originally posted by Obli:
    Originally posted by Tales Aguair:
    1 the mouse pointer flash vary times.
    Some days ago something gone awry on my PC and I had to disable cursor acceleration (in the windows driver tab). The same problem appeared. I don't think GL 'itself' has something to do with it but maybe you shall try reinstalling your HW drivers.
    Thanks a lot! I disable mouse cursor acceleration and all works very fine. The second problem not occurs too. I will test my project in amother machines.

  4. #4
    Junior Member Newbie
    Join Date
    Aug 2005
    Location
    es, Brazil
    Posts
    3

    Re: mouse in windows

    Sorry, I an wrong...
    If I restart my application the problem comes back, its only solved when I switch (while my program is running) the mouse acceleration. From disable to enabled or enabled to disabled.
    I an very confused.
    I tested my application in another machines and the problem also occurs.
    I an very confused.

Similar Threads

  1. Convert windows mouse coordinates to opengl coordinates
    By throwaway in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-05-2013, 06:44 PM
  2. mouse speed between sampled mouse input points
    By sunnymonk in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 02-06-2005, 09:43 AM
  3. rotate on mouse click and drag in the direction of the mouse cursor
    By vamsee kanth in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 01-02-2005, 09:54 PM
  4. Replies: 4
    Last Post: 09-30-2002, 04:55 PM
  5. Getting Windows Mouse Coordainates
    By johnterenceclark in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 10-23-2000, 04:57 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean