U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » detecting clicked row in ArrayCtrl [FIXED...]
Re: detecting clicked row in ArrayCtrl [message #2056 is a reply to message #2049] Thu, 30 March 2006 22:40 Go to previous messageGo to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I can hardly imagine an ArrayCtrl where you are interested in left clicks but not the position of them. At least you would be interested in the clicked row index, but adding column index too could not hurt. Since the clicked row is not always available through GetCursor (clicks below last row), would I need to subclass ArrayCtrl just to do exactly the thing that WhenLeftClick callback is for? How about adding a GetClickPosition() public method, which the WhenLeftClick can call?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: edit data in arrayctrl [GOOD EXAMPLES...]
Next Topic: how to use ArrayCtrl.SetLineCy(int,int)?
Goto Forum:
  


Current Time: Fri Oct 09 00:03:54 GMT+2 2026

Total time taken to generate the page: 0.00626 seconds