DOC: CMiniFrameWnd::Create Is Missing MFS_BLOCKSYSMENU

Last reviewed: June 16, 1997
Article ID: Q165745
The information in this article applies to:
  • The Microsoft Foundation Classes (MFC) included with: - Microsoft Visual C++, 32-bit Editions, version 5.0

SUMMARY

CMiniFrameWnd::Create member function lets you create the Windows mini- frame window and attach it to the CMiniFrameWnd object. Create initializes the window's class name and window name and registers default values for its style and parent.

The CMiniFrameWnd::Create function has the following prototype:

   BOOL Create( LPCTSTR lpClassName, LPCTSTR lpWindowName, DWORD dwStyle,
                const RECT& rect, CWnd* pParentWnd = NULL, UINT nID = 0);

where dwStyle can include standard window styles and one or more of the following special styles:

MFS_MOVEFRAME     Allows the mini-frame window to be moved by clicking
                  on any edge of the window, not just the caption.

MFS_4THICKFRAME   Disables resizing of the mini-frame window.

MFS_SYNCACTIVE    Synchronizes the activation of the mini-frame window
                  to the activation of its parent window.

MFS_THICKFRAME    Allows the mini-frame window to be sized as small as
                  the contents of the client area allow.

MFS_BLOCKSYSMENU Blocks any hit testing on system menu.

The online documentation for CMiniFrameWnd::Create does not list the MFS_BLOCKSYSMENU style.

(c) Microsoft Corporation 1997, All Rights Reserved. Contributions by Jing Lou, Microsoft Corporation


Additional query words: MFC MFS_
Keywords : kbui MfcUI vcbuglist500 kbfasttip
Technology : kbmfc
Version : 5.0
Platform : NT WINDOWS
Issue type : kbdocerr


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: June 16, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.