wangzhengbo Posted December 26, 2013 Posted December 26, 2013 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.
Administrators Jon Posted December 30, 2013 Administrators Posted December 30, 2013 Hmm, it seems OK when I check it. Have you got some repo code? Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/
wangzhengbo Posted January 1, 2014 Author Posted January 1, 2014 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; }
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