creeping Posted May 23, 2007 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
GaryFrost Posted May 23, 2007 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.
creeping Posted May 23, 2007 Author 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
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