SAMPLE: MDIStat.exe Places a Status Bar in an MDI Frame Window

ID: Q65880

The information in this article applies to:

SUMMARY

MDIStat.exe is a sample that demonstrates how to implement a status bar within an MDI application.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ MDIStat.exe (size: 47645 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

Many applications that employ the Windows multiple document interface (MDI) provide information to the user through the use of a status bar at the bottom of the application. Microsoft Excel and Microsoft Word for Windows are two examples of applications that provide this context-sensitive assistance.

To create a status bar at the bottom of an MDI frame window, do the following:

1. Create an appropriately sized child of the frame window to display

   the status information.

2. Size the MDI client window so that it does not obscure the status
   window.

When the frame window changes size, it is necessary to size the MDI client and status windows so that the status bar will remain visible.

Additional query words: Keywords : kbfile kbsample kb16bitonly kbMDI kbGrpUser kbWinOS310 kbWndw kbWinOS300

Last Reviewed: December 12, 1998