Jump to content

reset a window's position and size


Recommended Posts

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

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