Jump to content

Recommended Posts

Posted

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

Posted

When I translated the chinese writing, it said this:

Allows you to enterthe Latinalphabetcharacters

Do you mean you want to type latain text into a text box?

Posted

When I translated the chinese writing, it said this:

Allows you to enterthe Latinalphabetcharacters

Do you mean you want to type latain text into a text box?

Enable disabled button to click the button command
Posted

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.

Posted

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.

Posted

id = WindowsForms10.BUTTON.app.0.378734a1 You can get it with Au3Info.exe

ControlEnable ( "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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...