Jump to content

Context menu


LOULOU
 Share

Recommended Posts

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
Link to comment
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

Link to comment
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
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...