CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    Stockholm\Sweden
    Posts
    16

    How to access a MDI form from a MDIChild

    Hi,
    Does anybody know a GOOD way to access an mdiparent window from one of it's child windows ?!?!

    All i get is an error stating that i can't create a new mdi window and stuff like that...

    I would like to change the caption and access some controls in the parent ( MDI ) window...


  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: How to access a MDI form from a MDIChild

    Something like this I think.

    MDIForm1.cmbFontName = ActiveFiles(X).FormFont



    MDIForm1 is my Parent form and cmdFontName is a combo box on it.
    The sample statement was taken from the Child Forms Activate event.

    John G

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