Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » Right Mouseclick on ArrayCtrl
Re: Right Mouseclick on ArrayCtrl [message #9478 is a reply to message #9477] Fri, 11 May 2007 09:39 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14266
Registered: November 2005
Ultimate Member
michael wrote on Thu, 10 May 2007 18:06

How can i catch a right mouseclick on an arrayctrl? I have a popup-menu which i can open on left mouseclick by using this code
array.WhenLeftClick = THISBACK(SOME_FUNCTION);


But there is no WhenRightClick...?

Michael


Well, right-click handling is reserved for context menu via WhenBar.

You you really need "naked" right-clicks, you have to derive your own class from ArrayCtrl and override RightDown (calling ArrayCtrl::RightDown at the beginning).

Mirek
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl package compile error
Next Topic: DropList multiple selection
Goto Forum:
  


Current Time: Sat Jul 19 05:37:07 CEST 2025

Total time taken to generate the page: 0.03718 seconds