DragonBall Posted November 10, 2011 Share Posted November 10, 2011 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 More sharing options...
DragonBall Posted November 10, 2011 Author Share Posted November 10, 2011 Ah, I found WinMove now....maybe WinSetPos is more intuitive..... Link to comment Share on other sites More sharing options...
AdmiralAlkex Posted November 10, 2011 Share Posted November 10, 2011 Learn to read the Related section in helpfile, you would have found WinMove() linked from WinGetPos() .Some of my scripts: ShiftER, Codec-Control, Resolution switcher for HTC ShiftSome of my UDFs: SDL UDF, SetDefaultDllDirectories, Converting GDI+ Bitmap/Image to SDL Surface Link to comment Share on other sites More sharing options...
DragonBall Posted November 10, 2011 Author Share Posted November 10, 2011 You are totally right, I just forgot it.... Link to comment Share on other sites More sharing options...
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