[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

context menus



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

I'm attaching context menus to a CList, but I want the items that
appear in the context menu to be specific to the row that has been
clicked on. Is this possible?

I imagine I'd have to add a handler for the CList such that it grabs
mouse button presses and if the button clicked is button 3 (right
mouse) it will display a popup of some kind. Is that the right kind of
idea? (If so, any handy hints would be welcome :)

On a seperate note, thanks to all the people who answer questions on
this list, you've been invaluable.

- ---
 _____ _         _       _____
| __  | |___ ___| |_ ___|   __|_ _ ___        Chris "Ng" Jones
| __ -| | .'|  _| '_|___|__   | | |   |  chris@black-sun.co.uk
|_____|_|__,|___|_,_|   |_____|___|_|_|    www.black-sun.co.uk
            S o f t w a r e

 "Linux is beating Windows" - David Cole, Microsoft Executive

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.5.3i for non-commercial use <http://www.pgpi.com>

iQA/AwUBOAtLl5hmBipjerS3EQKgbgCg4KjCiybNYvEHEinyIoZ7iBHZ8TUAoL+l
AwrvPDz2f8r6asQdIJP1E6b7
=W7/8
-----END PGP SIGNATURE-----



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]