creeping Posted May 23, 2007 Share Posted May 23, 2007 I can not seem to find this anywhere. Is there a command to test if an edit control has focus or not? Thanks Link to comment Share on other sites More sharing options...
GaryFrost Posted May 23, 2007 Share Posted May 23, 2007 I can not seem to find this anywhere.Is there a command to test if an edit control has focus or not?ThanksMight try GUICtrlGetState SciTE for AutoItDirections for Submitting Standard UDFs Don't argue with an idiot; people watching may not be able to tell the difference. Link to comment Share on other sites More sharing options...
creeping Posted May 23, 2007 Author Share Posted May 23, 2007 Yea looked there, could not see anything for an edit. Just founnd this that works though Func _IsFocused($hWnd, $nCID) Return ControlGetHandle($hWnd, '', $nCID) = ControlGetHandle($hWnd, '', ControlGetFocus($hWnd)) EndFunc 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