Re: Win32Lib Question About Reading Keys
- Posted by Derek Parnell <ddparnell at bigpond.com> Jul 08, 2004
- 490 views
cklester wrote: > > Derek, is there a way to check if the CTRL key is being held down? > > Something like > > procedure mouse_Handler( ... ) > if keyDown(VK_Control) then > --dragging > else > --drawing > end if > end procedure > setHandler(win,w32Mouse,routine_id("mouse_Handler")) if getKeyState(VK_CONTROL) then -- Derek Parnell Melbourne, Australia