Jump to content

Recommended Posts

Posted

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 3.3.10.0. It's ok in AutoItX 3.3.8.1.

Posted
  On 12/30/2013 at 3:33 PM, Jon said:

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;

}

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...