LOULOU 0 Posted December 4, 2006 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
xcal 2 Posted December 4, 2006 You of course have tried something that isn't working... Which part are you stuck on? Hide xcal's signature Hide all signatures How To Ask Questions The Smart Way Share this post Link to post Share on other sites
PaulIA 1 Posted December 4, 2006 How can i create a cotnext menu for example clicking on a listview items and having two choice to selectThanksA 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. Hide PaulIA's signature Hide all signatures Auto3Lib: A library of over 1200 functions for AutoIt Share this post Link to post Share on other sites
bigassmuffin 0 Posted December 4, 2006 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
PaulIA 1 Posted December 4, 2006 See:_GUICtrlComboAutoComplete, _GUICtrlComboGetDroppedState,_GUICtrlComboGetDroppedWidth,_GUICtrlComboGetExtendedUI,_GUICtrlComboGetLBText,_GUICtrlComboGetList, <----- Most Basic oneLook for these in help file, and there are still even more than these! If your confused, jsut look at the one I labled mose basicOK, I'll bite. What does a ComboBox have to do with a context menu? Hide PaulIA's signature Hide all signatures Auto3Lib: A library of over 1200 functions for AutoIt Share this post Link to post Share on other sites
LOULOU 0 Posted December 5, 2006 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 pleaseThanks Share this post Link to post Share on other sites