I have several routines for the mouse that are +very+ specific-
that is, it is written assuming the mouse is two- button, or is
three-button, and specifically expects the mouse to be connected
to the com port so specified in the routine.
Mouse use programming is new to me. Is there a general routine
that will "look" for the mouse (even if it is plugged into USB),
and at least the left & right buttons will work regardless of
the brand of mouse (Logitech, Microsoft, Gateway, etc.)??
While I have a five button optical mouse, all I really need is
for the program to recognize the left and right mouse buttons,
and where on the screen it was clicked or double-clicked.
Is a working generic routine of this possible?
Thank you.
Robert Carneal
------------------
that is, it is written assuming the mouse is two- button, or is
three-button, and specifically expects the mouse to be connected
to the com port so specified in the routine.
Mouse use programming is new to me. Is there a general routine
that will "look" for the mouse (even if it is plugged into USB),
and at least the left & right buttons will work regardless of
the brand of mouse (Logitech, Microsoft, Gateway, etc.)??
While I have a five button optical mouse, all I really need is
for the program to recognize the left and right mouse buttons,
and where on the screen it was clicked or double-clicked.
Is a working generic routine of this possible?
Thank you.
Robert Carneal
------------------
Comment