CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Dec 2009
    Posts
    4

    Question Can I display a control in the MDI client window?

    I am writting a MDI applcaition. I want to display a tree view control in the left part of the frame client window. After I create the tree control in the FrameWndProc ON_CREATE, the tree control is displayed. But I can never open the child windows.

    Can I create the tree control in the frame client window? I am new to MDI.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,396

    Re: Can I display a control in the MDI client window?

    Quote Originally Posted by readsuhang View Post
    .... After I create the tree control in the FrameWndProc ON_CREATE, ...
    Are using MFC?
    If YES - then why are you using FrameWndProc ?
    If NOT - then why do you mention ON_CREATE?

    If you could use MFC then you life would be much easier, because AppWizard would make the most work for you creating the "frame" of the MDI app with the "Explorer" style...
    Victor Nijegorodov

  3. #3
    Join Date
    Dec 2009
    Posts
    4

    Re: Can I display a control in the MDI client window?

    I am not using MFC. MFC is not allowed in this projet.

Tags for this Thread

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