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: Mon Jun 10 13:26:29 CEST 2024
Total time taken to generate the page: 0.01191 seconds
|