SAMPLE: Customizing the MDI Window MenuLast reviewed: February 15, 1996Article ID: Q99803 |
The information in this article applies to:
SUMMARYThe MDIWINMN sample in the Microsoft Software Library demonstrates how to customize the Window menu of a multiple document interface (MDI) frame window. MDIWINMN shows how to limit the number of listed MDI children in the Window menu to any number and how to bring up a customized dialog box when the More Windows menu item is selected. This sample also shows how to list all the MDI children in the Window menu without using a More Windows menu item. Download MDIWINMN.EXE, a self-extracting file, from the Microsoft Software Library (MSL) on the following services:
MORE INFORMATIONTo compile, type NMAKE to build the sample; this sample limits the number of MDI child windows listed in the Window menu and brings up the customized dialog box when the More Windows menu item is selected. Type NMAKE MENU=NOLIMIT to build the sample that lists all the the MDI children in the Window menu without using a More Windows menu item. The following code changes must be made in the window procedure of the MDI frame window to customize the Window menu:
ProcessWindowMenu() processes WM_COMMAND messages that result from menu selections of MDI children in the Window menu. It also brings up a customized dialog box when the More Windows menu item is selected.
|
Additional reference words: 3.00 3.10 softlib MDIWINMN.EXE
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |