How's about makin' an MDI form, ya know? How be it done, ya see?
Printable View
How's about makin' an MDI form, ya know? How be it done, ya see?
It's a little bit complicated.
First you register an additional window class for your inner windows.
In the WM_CREATE handler of your main window, you need to create a child window of the predefined class "MDICLIENT" and pass a pointer to a CLIENTCREATESTRUCT as lParam to CreateWindow(Ex). Then you communicate to the client window via some messages and functions.
MFC can handle a great deal of the work for you. If you really want to make an MDI app, I would suggest MFC.
If you insist on API, you should read it up in MSDN:
Platform SDK->User Interface Services->Windowing->Multiple Document Interface
bitznizzle, aiight? Than'sumn G!