WhyTea Posted September 24, 2009 Share Posted September 24, 2009 I have created List and Edit controls in a Form. Now I have populated the List and Edit controls with lines of text, how do I read the line when a user double click on it? How do I read a word when a use double click on one in Edit? /Why Tea Link to comment Share on other sites More sharing options...
somdcomputerguy Posted September 24, 2009 Share Posted September 24, 2009 This would be a place to start I guess..Function GUICtrlRead - Bruce /*somdcomputerguy */ If you change the way you look at things, the things you look at change. Link to comment Share on other sites More sharing options...
WhyTea Posted September 25, 2009 Author Share Posted September 25, 2009 I managed to find a way to read the focused line in the Listbox in one of the threads by doing the following: GUIRegisterMsg($WM_COMMAND, "WM_COMMAND_LIST") Func WM_COMMAND_LIST($hWnd, $iMsg, $iwParam, $ilParam) ... With that I could detect double click and enter key in the listBox. But I failed to do the same thing for the EditBox (created with GUICtrlCreateEdit()) in the same Form. I would like to handle double click in the EditBox when a word is selected or highlighted. Is there a way to do it? /Why Tea Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now