hans@pine.circa.ufl.edu (Hans van Oostrom) (06/12/91)
I am writing a dll that contains a function to return the mouse status
(left/right button pressed). I don't have control over the current
window because the dll is called from iconAuthor. I can't process
mouse messages, becuase there might be none when I'm in my function,
and I don't want to wait till the mouse mves or is pressed. I found the
function GetCursorPos that returns me the coordinates. I could not
find a function to get the status.
With exehdr I noticed some functions in the mouse.drv that might
provide me with the information that I need (e.g. INQUIRE). Is there
anybody out there that knows how to call that or how to get that
information?
I also thought of trying to call int 33H via some standard dpmi
interface, but I'm afraid that that will give me the dos device
driver, which might not have up-to-date information; any suggestions?
Please E-mail any suggestions to me so I don't have to dig through all
the FidoNet stuff.
Thanks
Hans van Oostrom
PO Box J-254, JHMHC hans@ufpine (BITNET)
Gainesville, FL 32601, USA hans@pine.circa.ufl.edu (INTERNET)
>>> Hoe ver je ook gaat, overal zie je landgenoten <<<