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 » Callback and moving cursor by arrows key
Re: Callback and moving cursor by arrows key [message #6955 is a reply to message #6951] Tue, 05 December 2006 21:55 Go to previous messageGo to previous message
Werner is currently offline  Werner
Messages: 234
Registered: May 2006
Location: Cologne / Germany
Experienced Member
forlano wrote on Tue, 05 December 2006 20:45

Hello,

I move the cursor of the arrayctrl by using the up and down arrow keys. I would like to intercept this action. None of the existing When* works. Perhaps I missed something or I need to override WhenBar?

Luigi


What about

...

void OnCursor()
{
	PromptOK("Cursor moved!");
}

...
ArrayCtrl my_array_ctrl;
...
my_array_ctrl.WhenCursor = THISBACK(OnCursor);
...


?

Werner

[Updated on: Tue, 05 December 2006 22:26]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Previous Topic: horizontal scroll
Next Topic: GridCtrl: how to disable the past at a given row
Goto Forum:
  


Current Time: Tue Apr 29 04:21:29 CEST 2025

Total time taken to generate the page: 0.01242 seconds