Jump to content

How to detect right click on menu item


rexx
 Share

Recommended Posts

GUIGetCursorInfo might work.

Thanks, but it checks the mouse button info after the mouse click, so the rbutton is already up.

But I found I can use

GUISetOnEvent($GUI_EVENT_SECONDARYDOWN, "MenuSecondaryDown", $hGUI)

And set a flag in MenuSecondaryDown()

then I can know whether it's right clicked or not.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...