Win32Lib: listbox: select item with RIGHT mouse click?

new topic     » topic index » view thread      » older message » newer message

When you LEFT click on an item in a listbox, it gets selected, and you can
use getIndex to tell you which item was selected, and cause an action
relative to that item with a left double-click (which can be done in one
motion: move cursor to item, then double-click); but I'd also like to make
something happen if an item is RIGHT clicked, but it seems I have to select
the item first with a left click, and then do a right click.

Is there a way to cause a right click alone to select an item in a list and
thence be able to act with regard to that item?

Dan

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu