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
--
Read our blog about news on our plugins:
http://www.mbsplugins.de/
_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info