Jump to content
Sign in to follow this  

AutoItX AU3_WinGetPos return wrong width and height

Recommended Posts

1. Run notepad

2. get the width and height of the notepad using AU3_WinGetPos defined in AutoItX3.dll

3. resize the notepad using AU3_WinMove

4. reget the width and height using AU3_WinGetPos, the newly width and height is wrong, it is not the changed size for the notepad.

This's happened in AutoItX It's ok in AutoItX

Share this post

Link to post
Share on other sites

Hmm, it seems OK when I check it. Have you got some repo code?

Yes, it's ok. I made a mistake. Because i defined the LPRECT structure as below:

public class LPRECT {

  public int x;

  public int y;

  public int width;

  public int height;


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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...