Pete -
> Any ideas would be greatly appreciated
Hmmm.. well, as I understand it you're only interested in whether the mouse
button is up or down. You only really need to call GetKeyState with a value
of 1 for the left mouse button and 2 for the right mouse button. You don't
need to worry about where the mouse cursor is - Windows takes care of that
for you. The button state will be reported correctly for the calling thread
(the VEE process).
-SHAWN-
Samantha's dead.
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------
> Any ideas would be greatly appreciated
Hmmm.. well, as I understand it you're only interested in whether the mouse
button is up or down. You only really need to call GetKeyState with a value
of 1 for the left mouse button and 2 for the right mouse button. You don't
need to worry about where the mouse cursor is - Windows takes care of that
for you. The button state will be reported correctly for the calling thread
(the VEE process).
-SHAWN-
Samantha's dead.
---------------------------------------------------------------------
This is the "vrf" maillist, managed by Majordomo. To send messages to
this maillist, just email to "vrf@lvld.agilent.com". Subscriptions and
unsubscriptions are done through the address "vrf-request@lvld.agilent.com".
If you need details, just send a message containing the text "help"
to "vrf-request@lvld.agilent.com".
---------------------------------------------------------------------