Jump to content

Get position of a GUI ContextMenu


panlatv
 Share

Recommended Posts

Hello everybody (and sorry for my bad english)

I try to get the position of a contextmenu (GUICtrlCreateContextMenu) on a TreeView, with ControlGetPos, but i can't.

Someone can help me ? Thank you :)

PS: I need the position to select item wtih rightclick before read the text of the item, because rightclick don't select item (only leftclick).

 

Link to comment
Share on other sites

Maybe you can work with  _GUICtrlMenu_CalculatePopupWindowPosition

or other  _GUICtrlMenu_ functions you can get around to need this position i guess

didnt tried it yet

Edited by Aelc

why do i get garbage when i buy garbage bags? <_<

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

×
×
  • Create New...