The information in this article applies to:
SUMMARYIn an application developed for the Microsoft Windows environment that uses the multiple document interface (MDI), an application that implements an MDI frame window or an MDI child window must pass certain messages to the default window procedure to provide default MDI functionality. When the application uses the Microsoft C++ Foundation Classes (MFC), the application calls the base class message handler after processing an MDI message to provide the default MDI behavior. MORE INFORMATION
According to the Windows Software Development Kit (SDK) documentation
for DefMDIChildProc, an application that uses MDI must pass messages
to the appropriate function to provide default MDI behavior. In MFC,
one of the message handling functions listed in the message map
processes the MDI messages. If an application overrides the message
handler for these messages, it may be necessary for the application to
call the base class message handler after processing the message for
MDI to function correctly. Messages Processed by DefFrameProc()
Messages Processed by DefMDIChildProc()
If a class derived from CMDIFrameWnd overrides the OnCommand() message
handler, it must call the CMDIFrameWnd::OnCommand() function for each
message that it does not handle. Please refer to the Windows SDK
documentation for more information about the messages processed by the
DefFrameProc() and DefMDIChildProc() functions.
Additional query words:
Keywords : kbDocView kbMFC KbUIDesign kbVC100 kbVC150 kbVC200 kbVC400 kbGrpMFCATL kbArchitecture |
Last Reviewed: November 25, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |