Jump to content
Sign in to follow this  

getting id value of window classname or instance

Recommended Posts



I am getting classname of a window at runtime(using wingetclasslist UDF).But I have to get instance ID number of classnameNN pattern at runtime of menu items of a window.Please help me in finding this.



Share this post

Link to post
Share on other sites

I use this on my GUIs:

GUICtrlSetState($buttonOk, $GUI_FOCUS)
$buttonOkID = ControlGetFocus($MyWindow)
GUICtrlSetState($buttonCancel, $GUI_FOCUS)
$buttonCancelID = ControlGetFocus($MyWindow)


Edited by Splash

Automatic Update UDF - IP Address UDF - WinPcap AutoIt _FindDevice()[font="Verdana"][size="2"]AutoIt Spanish/Brasil/World community!!![/size][/font]Use you wanna a dot.tk domain please use my link:

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  


Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.