Sign in to follow this  
Followers 0
LOULOU

Context menu

6 posts in this topic

How can i create a cotnext menu for example clicking on a listview items and having two choice to select

Thanks

Share this post


Link to post
Share on other sites



How can i create a cotnext menu for example clicking on a listview items and having two choice to select

Thanks

A context menu is just a popup menu that is displayed when you right click a listview item. You'll need to capture the right mouse click with GUIGetMsg(). Then use the ListView HitTest function to see which item the mouse is over. Next, use the Menu functions to build your popup menu. Last, you'll need to capture the context menu selection. Most of this is can be taken from the NotePad demo in Auto3Lib.

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

See:

_GUICtrlComboAutoComplete,

_GUICtrlComboGetDroppedState,

_GUICtrlComboGetDroppedWidth,

_GUICtrlComboGetExtendedUI,

_GUICtrlComboGetLBText,

_GUICtrlComboGetList, <----- Most Basic one

Look for these in help file, and there are still even more than these! If your confused, jsut look at the one I labled mose basic

Share this post


Link to post
Share on other sites

See:

_GUICtrlComboAutoComplete,

_GUICtrlComboGetDroppedState,

_GUICtrlComboGetDroppedWidth,

_GUICtrlComboGetExtendedUI,

_GUICtrlComboGetLBText,

_GUICtrlComboGetList, <----- Most Basic one

Look for these in help file, and there are still even more than these! If your confused, jsut look at the one I labled mose basic

OK, I'll bite. What does a ComboBox have to do with a context menu?

Auto3Lib: A library of over 1200 functions for AutoIt

Share this post


Link to post
Share on other sites

OK, I'll bite. What does a ComboBox have to do with a context menu?

I have some trouble to read notepad demo and don't find where is programming the context menu. can you help me please

Thanks

Share this post


Link to post
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
Sign in to follow this  
Followers 0