Popup menu while editing listview label

flynn

Regular
Joined
Jul 28, 2005
Messages
59
Is there a way to display a context-sensitive menu after the user has clicked on a listview item and entered into the label edit mode?

I can capture the "BeforeLabelEdit" event and display the menu there, but that is too soon to show the menu. I need the menu to show when they are actually editing the text.

The purpose for this is that I would like to be able to let the user select from items on the menu to place at the location of the insertion bar/cursor. Example: the user clicks on a list view item that has this text: "Windows is great". They place the focus bar after the letter "s" in the word "Windows", right click and a menu pops up that has the choices of "NT", "2000" and "XP". The user selects the "XP" item and the code would insert the selected text at the insertion point so that the listview text would now read "WindowsXP is great"
 
Back
Top