Results 1 to 3 of 3

Thread: Tile and Cascade

  1. #1

    Thread Starter
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    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
    [email protected]
    ICQ# 47799046

  2. #2
    Serge's Avatar
    Join Date
    Feb 1999
    Location
    Scottsdale, Arizona, USA
    Posts
    2,744

    Post

    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
    [email protected]
    [email protected]
    ICQ#: 51055819


  3. #3

    Thread Starter
    Hyperactive Member Gimpster's Avatar
    Join Date
    Oct 1999
    Location
    Redmond, WA 98052
    Posts
    331

    Post

    Thanks, worked great!

    ------------------
    Ryan
    [email protected]
    ICQ# 47799046

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width