Skip to main content

Detecting right click + command key impossible?

2 replies [Last post]
nico_v_c
Offline
Joined: 2006-10-04

Hi,

If I understand correctly it is impossible to detect a right click in combination with pressing the command key (on mac). To detect if the right key is pressed, you can check the method isMetaDown() from the MouseEvent, but this also returns true when the right mouse button is used. Is this correct or is there an other way to detect that combination?

Nico

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nico_v_c
Offline
Joined: 2006-10-04

Thanks

oleg_sukhodolsky
Offline
Joined: 2006-02-06

Check getModifiersEx()