13.07.2015 Views

REFERENCE GUIDE

REFERENCE GUIDE

REFERENCE GUIDE

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Multiple document interface messagesWindows multiple document interface (MDI) provides applications with astandard interface for displaying multiple documents within the sameinstance of an application. An MDI application creates a frame windowwhich contains a client window in place of its client area. The applicationcreates an MDI client window by calling CreateWindow with theMDICLIENT class and passing a CLiENTCREATESTRUCT data structure asthe function's IpParam parameter. This client window in turn can ownmultiple child windows, each of which displays a separate document. AnMDI application controls these child windows by sending messages to itsclient window. The following briefly describes these MDI messages:MessageWM_MDIACTIVATEWM_MDICASCADEWM_MDICREATEWM_MDIDESTROYWM_MDIGETACTIVEWM_MDIICONARRANGEWM_MDIMAXIMIZEWM_MDINEXTWM_MDIRESTOREWM_MDISETMENUWM_MDITILEDescriptionActivates a child window.Arranges child windows in a cascade format.Creates a child window.Closes a child window.Returns the current active MDI child window.Arranges all minimized child windows.Maximizes an MDI child window.Activates the next child window.Restores a child window from a maximized orminimized state.Replaces the menu of an MDI frame window, theWindow pop-up menu, or both.Arranges all child windows in a tiled format.TopicMessage-processingfunctionsFunction descriptionsMessage descriptionsWindows data types andstructuresDynamic data exchangeGeneral information onWindows programmingReferenceReference, Volume 1: Chapter 1,"Window manager interface functions"Reference, Volume 1: Chapter 4, "Functions directory"Reference, Volume 1: Chapter 6, "Messages directory"Reference, Volume 2: Chapter 7,"Data types and structures"Reference, Volume 2: Chapter 15, "Windows DDEprotocol definition"Guide to Programming: Chapter 22, "Dynamic dataexchange"Guide to Programming: Chapter 1,"An overview of the Windows environment"600Software development kit

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!