I don't remember who asked the question the other day, but someone wanted to know how to capture a shift-click. I thing that the problem was resolved for her, but I have come across a win32 function perfect for capturing if a key is held down at any given time; getkeystate()
declare SHORT GetKeyState in Win32API INTEGER Key
getkeystate(17) returns .T. if the CTRL key is being held down and
getkeystate(16) returns .T. if the shift key is being held down.
I came across this usage in someone else's code, and I don't know where the 16 and 17 come from... they're not the inkey values... does anybody else know?
Erik Moore
Clientelligence