Click to See Complete Forum and Search --> : How do I make a childwnd with caption contained by its parent?


April 29th, 1999, 09:49 PM
(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

April 30th, 1999, 07:57 PM
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