|
-
May 2nd, 2002, 03:23 PM
#1
Thread Starter
Stuck in the 80s
MDI Forms, ya know?
How's about makin' an MDI form, ya know? How be it done, ya see?
-
May 2nd, 2002, 05:35 PM
#2
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
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
-
May 2nd, 2002, 09:37 PM
#3
Thread Starter
Stuck in the 80s
bitznizzle, aiight? Than'sumn G!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|