Thanks for your replies.
Can you give a concrete example of below? I don't care if it uses
twips, pixels, whatever. Just some height/width unit.
I am looking for something to do something like this
1. minimize all windows except the one you want the size of
2. run "Get Size" utility, which has code like:
myHeight = fnGetHeightOfTopWindow
myWidth = fnGetWidthOfTopWindow
MsgBox "height=" & myheight & vbcrlf & "width=" & mywidth
3. minimize all windows except the ones you want resized
4. run "Set size" utility - it prompts for height/width, you type the
numbers, click OK, and it sets the height/width of all open windows to
that
Herfried K. Wagner [MVP] wrote:
"Mad Scientist Jr" <us*************@yahoo.com> schrieb: i just want to automatically size all open and non-mimized windows to
the specified height/width (in twips?)
P/invoke: 'EnumWindows' + 'MoveWindow'.
--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>