Le 28/11/2012 17:22, Christian Schmitz a écrit :
> Am 28.11.2012 um 13:00 schrieb fqd <[email protected]>:
>
>> Bitwise.ShiftRight( ModFlag, NSEventMBS.NSCommandKeyMask) :
> You can't shift by the Mask value. That's far too big.
>
>
> This code works here:
>
>    
>    if e.type = NSEventMBS.NSKeyDown then
>      Dim ModFlag as integer = e.modifierFlags
>      if BitwiseAnd(ModFlag, e.NSCommandKeyMask) = e.NSCommandKeyMask then
>        window1.List.AddRow "Command Key pressed"
>      end if
>    end if
>    
>
> Greetings
> Christian
>

Here too ;-)))

Thanks again, Christian !

You should keep this piece of code in the NSEventMonitorMBS example. 
Would avoid my silly shifting questions ;-(

A+,
Fred
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to