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  |
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
|
|
|
Goto Forum:
Current Time: Sat Apr 26 17:22:06 CEST 2025
Total time taken to generate the page: 0.00413 seconds
|