Re: Win32Lib Question About Reading Keys

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu