PDA

Click to See Complete Forum and Search --> : Tile and Cascade


Gimpster
Nov 12th, 1999, 05:00 AM
I'm trying to write code to tile all open windows in an MDI program. I also want to be able to make it cascade them. However, I'm not sure how to find out which windows are open, and then use that to set the properties on all of the windows.

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046

Serge
Nov 12th, 1999, 06:40 AM
You can easily do it by using Arrange method.


frmMDI.Arrange vbTileVertical


To arrange it horizontally:
frmMDI.Arrange vbTileHorizontal

or Cascade:
frmMDI.Arrange vbCascade


Regards,


------------------

Serge

Software Developer
Serge_Dymkov@vertexinc.com
Access8484@aol.com
ICQ#: 51055819 (http://www.icq.com/51055819)

Gimpster
Nov 12th, 1999, 06:59 AM
Thanks, worked great!

------------------
Ryan
corneslen@hotmail.com
ICQ# 47799046