Results 1 to 2 of 2

Thread: Help!Help! MouseAPI

  1. #1

    Thread Starter
    Banned
    Join Date
    Jul 2001
    Location
    CH
    Posts
    13

    Thumbs up Help!Help! MouseAPI

    I want to use a API to know the current situation of right button of mouse.
    I want to know it's down or it's up.
    Can you tell me some solutions?
    Thank you very much


    The situation:
    The right button of mouse is "Mousedown" on a tree, then Clock event happen. The clock will to see the situation of right button of mouse every 10 ms. if the button is up then another event happen.

    Thank you again

    Please note one thing. The mouse will move all over the window.
    I don't want to on every controlbox ,put a dragdrop event and accept mouse up event.

  2. #2
    Fanatic Member Mad Compie's Avatar
    Join Date
    Aug 2000
    Location
    Kuurne (Belgium)
    Posts
    553

    Lightbulb Obvious!!!

    Using the GetAsyncKeyState (&h2) API !!!

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