Sign in to follow this  
Followers 0
husitong

Help!.NET to activate the button

12 posts in this topic

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

Share this post


Link to post
Share on other sites



As the level of limited, pointing heroes

Share this post


Link to post
Share on other sites

Do you mean that you want to click on a button in a GUI (Graphical User Interface) program made in a .net language?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

post-35954-0-18406500-1326372085_thumb.j

Really enabled button

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Some people can use autoit get it?

Share this post


Link to post
Share on other sites

Help!!!ME!!

Share this post


Link to post
Share on other sites

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
Sign in to follow this  
Followers 0