LOULOU Posted December 4, 2006 Share 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 Link to comment Share on other sites More sharing options...
xcal Posted December 4, 2006 Share Posted December 4, 2006 You of course have tried something that isn't working... Which part are you stuck on? How To Ask Questions The Smart Way Link to comment Share on other sites More sharing options...
PaulIA Posted December 4, 2006 Share 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. Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
bigassmuffin Posted December 4, 2006 Share 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 Link to comment Share on other sites More sharing options...
PaulIA Posted December 4, 2006 Share 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? Auto3Lib: A library of over 1200 functions for AutoIt Link to comment Share on other sites More sharing options...
LOULOU Posted December 5, 2006 Author Share 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now