|
-
Dec 23rd, 2002, 05:47 AM
#1
Thread Starter
Hyperactive Member
Listview / Context menu Q.
Good Morning
Happy Christmas
+ New Year
Good will to all men (and women)

I have a listview with x number of items in the 'details' style. I also have 2 context menus - neither associated with the listview at design time.
I want to associate one of the context menus at runtime with the listview depending on whether an item in the list was right clicked OR the space at the bottom of the listview was right clicked.
The bit I can't get to work is detecting whether an item is highlighted or not when the right mouse button is clicked.
Secondly, how can I detect a double click in the empty space of the listview - the doubleclick event only runs when an item is double clicked and not when the empty space is double clicked.
Thanks for any responses..
SjR
Another satisfied customer 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|