I'm working with MFC in VC++ 6.
I'd like to make the main window (class derived from CFrameWnd) have child windows (in concept; not necessarily in implementation) with options and such in it. The child windows should be able to dock at the sides of the main window or float free, in much the same way as the output window and the workspace window (and the graphics palette when working in the resource editor) work in VC++. (The look I'm going for is more along the line of the workspace. properties, and control windows in Visual Basic.)
Any help on how to accomplish this would be appreciated.
So far I've tried several combinations of child window/not child window with a class both of CMiniFrameWnd and a derived class as a member variable of the main window, running the create function in the OnCreate handler of the main window. If the WS_CHILD is in there, it asserts; if not, it exits with memory leaks.
I'd like to make the main window (class derived from CFrameWnd) have child windows (in concept; not necessarily in implementation) with options and such in it. The child windows should be able to dock at the sides of the main window or float free, in much the same way as the output window and the workspace window (and the graphics palette when working in the resource editor) work in VC++. (The look I'm going for is more along the line of the workspace. properties, and control windows in Visual Basic.)
Any help on how to accomplish this would be appreciated.
So far I've tried several combinations of child window/not child window with a class both of CMiniFrameWnd and a derived class as a member variable of the main window, running the create function in the OnCreate handler of the main window. If the WS_CHILD is in there, it asserts; if not, it exits with memory leaks.