CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 1999
    Location
    Malaysia
    Posts
    224

    Chirldren Window

    Hello
    I have a MDI application with open so many chirldren windows. However, how can i get one of the chirldren window that currently NOT on the top if i need it?

    Sooner Or Later, Everyone Does...

  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Chirldren Window

    there is a Forms collection which holds all the loaded forms of your application.

    dim frm as form
    for each frm in forms
    if frm.name = "Form1" then
    frm.caption = "Hey, I found Form1!"
    frm.text1.text = "Oh darn, he found me!"
    end if
    next frm




    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Jul 2001
    Posts
    41

    Re: Chirldren Window

    If you know the name of the form then you can try the following

    frmname.ZOrder (0)

    Thanks
    Goutam


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

Featured