Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cascade / Tile functionality in an MDI environment

Status
Not open for further replies.

Suncaster

Programmer
Dec 15, 2000
1
US
Could someone point me to documentation on how to enable Cascading and Tiling functionality to the children of an MDI form in VB6? I'd like to create a full-blown _W_indow menu on my MDI form and I have found the WindowList property in the VB6 Menu Editor but I can't find anything regarding tiling and cascading MDI children in VB help. All I need is a push in the right direction. Thanks in advance!
 
The following example illustrates what you want:

Code:
Private Sub mnuWCascade_Click ()
   ' Cascade child forms.
   frmMDI.Arrange vbCascade
End Sub

Private Sub mnuWTile_Click ()
   ' Tile child forms (horizontal).
   frmMDI.Arrange vbTileHorizontal
End Sub

Private Sub mnuWArrange_Click ()
   ' Arrange all child form icons.
   frmMDI.Arrange vbArrangeIcons
End Sub

For more information look under the arrange method of the MDI form.

James :) James Culshaw
jculshaw@active-data-solutions.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top