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

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » detecting clicked row in ArrayCtrl [FIXED...]
detecting clicked row in ArrayCtrl [FIXED...] [message #2014] Wed, 29 March 2006 21:55 Go to previous message
hojtsy is currently offline  hojtsy
Messages: 241
Registered: January 2006
Location: Budapest, Hungary
Experienced Member
I have an ArrayCtrl and would like to take some action when a row is clicked. It is easy to assign a callback to WhenLeftClick. But the callback should find out which row was clicked. GetCursor is not good enough, because the click could be below the last row, and the cursor is not moved then, so it would appear as if the user clicked the row which has the cursor.

[Updated on: Sun, 09 April 2006 03:58] by Moderator

Report message to a moderator

 
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: Mon Oct 05 17:38:24 GMT+2 2026

Total time taken to generate the page: 0.01269 seconds