Rad Posted February 20, 2007 Share Posted February 20, 2007 I need to get the control ID of the currently selected inputbox... ControlGetFocus would work but its returning Edit1 which, obviously, does not equal 7 (The control ID of the input box) What should I do? Why is ControlGetFocus like the only function to even use the Class Name of a control? Type in ClassNameNN to the search on the helpfile and only that comes up Link to comment Share on other sites More sharing options...
Rad Posted February 20, 2007 Author Share Posted February 20, 2007 (edited) Umm... Ok... Thanks? Alright yeah that worked. Do I have an authority? What do you mean? Wouldnt it make more sense if "If ControlGetFocus("My Window") = $MyControl Then GUICtrlSetData($MyControl, "")" was true? Thats all I am saying Edited February 20, 2007 by Rad 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