Jump to content
Sign in to follow this  
LOULOU

Context menu

Recommended Posts

LOULOU

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
PaulIA

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
bigassmuffin

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

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
LOULOU

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.