Sign in to follow this  
Followers 0
DragonBall

reset a window's position and size

4 posts in this topic

I am trying to manage the position and size of two differents.

Suppose there are two windows W1 and W2. I would like W2 is always has the same size as W1, it means that when I change the size of W1, then the size of W2 will be changd to the same as W1. Also the position of W2 is always on the right at W1, namely the left top corner of W2 is the right top corner of W1. I can use WinGetPos to get the position and size of W1, but I didn't find something like "WinSetPos" to change the position and size of W2. Is there a way to deal with this?

Share this post


Link to post
Share on other sites



Ah, I found WinMove now....maybe WinSetPos is more intuitive.....

Share this post


Link to post
Share on other sites

You are totally right, I just forgot it....

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  
Followers 0