Results 1 to 3 of 3

Thread: MDI Forms, ya know?

  1. #1

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256

    MDI Forms, ya know?

    How's about makin' an MDI form, ya know? How be it done, ya see?
    My evil laugh has a squeak in it.

    kristopherwilson.com

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    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.

  3. #3

    Thread Starter
    Stuck in the 80s The Hobo's Avatar
    Join Date
    Jul 2001
    Location
    Michigan
    Posts
    7,256
    bitznizzle, aiight? Than'sumn G!
    My evil laugh has a squeak in it.

    kristopherwilson.com

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