CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
+ Reply to Thread
Results 1 to 3 of 3

Hybrid View

  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
    Join Date
    Jan 2003
    Location
    Wallisellen (Zürich), Switzerland
    Posts
    16,178

    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.

+ Reply to Thread

Tags for this Thread

Bookmarks

Posting Permissions

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



HTML5 Development Center

Click Here to Expand Forum to Full Width