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 » U++ Widgets - General questions or Mixed problems » Focus without selecion
Re: Focus without selecion [message #31169 is a reply to message #31142] Fri, 11 February 2011 12:33 Go to previous message
JoseB is currently offline  JoseB
Messages: 37
Registered: March 2009
Member
I think i found a solution:

void CMyDlg::ChildGotFocus(void)
{
	EditString *pEditStr=NULL;
	pEditStr=dynamic_cast<EditString *>(GetFocusCtrl());
	if(pEditStr)
	{
		pEditStr->CancelSelection(); //Remove
		pEditStr->Key(K_END,0); //Goto End
        }
...




JoseB
 
Read Message
Read Message
Previous Topic: Executing a SQL statment containning a ' ?
Next Topic: Extending EditString to filter keys
Goto Forum:
  


Current Time: Mon Jun 10 13:26:29 CEST 2024

Total time taken to generate the page: 0.01191 seconds