By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,225 Members | 2,223 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,225 IT Pros & Developers. It's quick & easy.

ListView - Column Specific ContextMenus????

P: n/a
Hello all,

Is it possible to have column specific context menus? so, if i have
three columns containing different objects / info, i could have a
context menu corresponding to each one?

Thanks,
SN
Nov 16 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Yes, but you'll have to write some code to do it. Take the Listview-relative
coordinates of the mouse (say, from the mouse-down in which you recognize
that the right mouse button is down), and repeatedly decrement the
x-coordinate by the column widths until you know which column you're in.
Once you know, display the column-specific context menu.

HTH,
Tom Dacon
Dacon Software Consulting

"sho_nuff" <sh*********@yahoo.com> wrote in message
news:49**************************@posting.google.c om...
Hello all,

Is it possible to have column specific context menus? so, if i have
three columns containing different objects / info, i could have a
context menu corresponding to each one?

Thanks,
SN

Nov 16 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.