husitong Posted January 12, 2012 Share Posted January 12, 2012 Hello, everyone How will a NET-button activation, and let it function properly Procedure known to activate the button I come from China because English is not good, use GOOGLE translation Such as title, see Annex 测试的DONET.rar edn.rar Link to comment Share on other sites More sharing options...
husitong Posted January 12, 2012 Author Share Posted January 12, 2012 As the level of limited, pointing heroes Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 12, 2012 Share Posted January 12, 2012 Do you mean that you want to click on a button in a GUI (Graphical User Interface) program made in a .net language? Link to comment Share on other sites More sharing options...
husitong Posted January 12, 2012 Author Share Posted January 12, 2012 Do you mean that you want to click on a button in a GUI (Graphical User Interface) program made in a .net language?允许输入拉丁字符的拼音Not want to enable a button Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 12, 2012 Share Posted January 12, 2012 When I translated the chinese writing, it said this:Allows you to enterthe LatinalphabetcharactersDo you mean you want to type latain text into a text box? Link to comment Share on other sites More sharing options...
husitong Posted January 12, 2012 Author Share Posted January 12, 2012 When I translated the chinese writing, it said this:Allows you to enterthe LatinalphabetcharactersDo you mean you want to type latain text into a text box?Enable disabled button to click the button command Link to comment Share on other sites More sharing options...
husitong Posted January 12, 2012 Author Share Posted January 12, 2012 Really enabled button Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 12, 2012 Share Posted January 12, 2012 Ok, now I get exactly what you mean. I know how to do it to an AutoIT GUI, but I dont know how in another program. I will have a go though and let you know if I get it to work. Link to comment Share on other sites More sharing options...
Mikeman27294 Posted January 12, 2012 Share Posted January 12, 2012 My guess would be to use GuiCtrlSetState($Control, @GUI_DISABLE) The control would be the control ID Of the button in an external program, if you can get it. Link to comment Share on other sites More sharing options...
husitong Posted January 12, 2012 Author Share Posted January 12, 2012 id = WindowsForms10.BUTTON.app.0.378734a1 You can get it with Au3Info.exeControlEnable ( "Form1", "", 'WindowsForms10.BUTTON.app.0.378734a1' ) ;Invalid#Include <WinAPI.au3>$test = ControlGetHandle ( "Form1", "", 'WindowsForms10.BUTTON.app.0.378734a1' )If @error Then msgbox(0,0,"error")_WinAPI_EnableWindow($test, True) Is no way to use Link to comment Share on other sites More sharing options...
husitong Posted January 13, 2012 Author Share Posted January 13, 2012 Some people can use autoit get it? Link to comment Share on other sites More sharing options...
husitong Posted January 14, 2012 Author Share Posted January 14, 2012 Help!!!ME!! 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