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

    How do I make a childwnd with caption contained by its parent?

    (not using mfc..) I want to make a child window with a caption that is contained in my parent window ( a homemade frame window ). I used spy++ on another app that does this to make sure I was using all the right window styles and stuff, and I create the child window with my frame as its parent. Everything works ok, except my child windows captions are inactive!! They are drawn grayed, even when you click them to bring them to the front.

    My parent/frame is drawn right with an active title bar. What am I doing wrong?

    please help


  2. #2
    Guest

    Re: How do I make a childwnd with caption contained by its parent?

    ok I figured it out.. Apparently you must use MDI to have child-windows-w/- captions-type functionality. Im using DefFrameProc now, and otherwise converted everything over to MDI, and it works. Jeez, didnt think it was so complex


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