I may be mistaken, but I thought I did this once before. What I recall
is that I determined if the contextual click occurred within the
header cell (RowFromXY and ColumnfromXY) and if in the header, do
this, and if not, do that.
-Richard
On Feb 25, 2009, at 2:15 PM, Frank Bitterlich wrote:
Hi,
I want users to be able to contextual-click (right-click, control-
click) on the header of a listbox, so I can display a menu where the
user can choose which column to show/hide. Just like many Apple apps
do (iTunes, Mail, etc).
But I can't get this to work. A right-click on a listbox header acts
just like a left-click; even calling IsContextualClick() in the
HeaderPressed event returns "false".
Any tips on how I can make this work? Right-click on the listbox
body works as expected; but I want to use that to display a
different menu (giving options for the selected listbox row).
All hints welcome (even if they read "I just doesn't work" ;)
Thanks,
Frank+++
--
Günter Schmidt GmbH
Frank Bitterlich eMail: bitterlich@gsco.de
Ben-Gurion-Ring 21 WWW: http://www.gsco.de/
D-60437 Frankfurt Tel.: 069 / 156809-29
GERMANY Fax: 069 / 156809-28
Geschäftsführer: Jürgen Hartwich
AG Frankfurt am Main, HRB 76504 - USt.-ID: DE235219624
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|