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++ TheIDE » U++ TheIDE: Other Features Wishlist and/or Bugs » Ctrl * GetCallbackCtrl()
Re: Ctrl * GetCallbackCtrl() [message #6119 is a reply to message #6117] Tue, 31 October 2006 13:20 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14267
Registered: November 2005
Ultimate Member
unodgs wrote on Tue, 31 October 2006 07:08

luzr wrote on Tue, 31 October 2006 05:34

I think we already have a better option:

Button btn;
btn <<= THISBACK1(Action, line);

void Action(int line)
{
...
}



Line number is unknown until ctrl is clicked...



How so? You do not know on which line you have placed the Button?

Anyway, instead of int line, you can use Ctrl *ctrl and THISBACK1(Action, &btn).

Quote:


ChildGotFocus is not enough. Option, Button, DropList don't get focus when you click on them using left mouse button...
It works fine only for Edit*



Of course. That is what I expect from the ArrayCtrl (moving focus moves cursor).

Actually, what I wanted to say is that perhaps not even WhenAction is enough here.... but OTOH all depends on what you really expect.

Quote:


and click at columns with button or droplist. Cursor wont change its position.



Yes.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Debugger error
Next Topic: Copy and Paste changes colors in Icon Edit [BUG]
Goto Forum:
  


Current Time: Sat Aug 16 22:43:33 CEST 2025

Total time taken to generate the page: 0.09174 seconds