dynamokaj Posted February 19, 2012 Posted February 19, 2012 Hi.. I have to identical clients running, based on Title and Class, so WinGetHandle can not see the difference of these two. But with ControlGetHandle I see a difference, since it seems that it prefix it with an id for the virtual environment that the client is running in. But I need the handle for the window only, so is it possible to get the handle of a window, only based on a handle to a control that lies within the window? Please ask me if I have not descriped my problem well enough. Kinds Regards Kaj.
dynamokaj Posted February 19, 2012 Author Posted February 19, 2012 _WinAPI_GetParent does not return the same handle of the window as "AutoIt v3 Window Info" does, but when I use the returned handle by _WinAPI_GetParent in WinActivate it activates the correct window.So I guess it must be correct. Thank you very much.
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