D
Dan Bass
If you look at explorer, right clicking on a file, first selects the file,
then throws up the context menu relating to that selection.
With a Windows ListBox control and a simple context menu, the default
behaviour seems to display the context menu on the listbox, but there is no
selection.
Now I know that explorer's using a listview, and that the context menu acts
differently if you click on open space (no selection), but can I simulate a
right click selection in a listbox?
Is my approach wrong in what I'm trying to achieve?
Is what I'm trying to acheive even possible?
Thanks.
Daniel.
then throws up the context menu relating to that selection.
With a Windows ListBox control and a simple context menu, the default
behaviour seems to display the context menu on the listbox, but there is no
selection.
Now I know that explorer's using a listview, and that the context menu acts
differently if you click on open space (no selection), but can I simulate a
right click selection in a listbox?
Is my approach wrong in what I'm trying to achieve?
Is what I'm trying to acheive even possible?
Thanks.
Daniel.