FIX: Owner Drawn Items on the Menu Bar Hang Windows NT

Last reviewed: October 29, 1997
Article ID: Q126720
3.50 WINDOWS NT kbui kbfixlist kbbuglist

The information in this article applies to:

  • Microsoft Win32 Software Development Kit (SDK) for Windows NT version 3.5

SYMPTOMS

Windows NT supports owner drawn items on the menu bar. However, Windows NT may stop responding (hang) if multiple windows of same class are created with the owner drawn menu bar.

STATUS

Microsoft has confirmed this to be a bug in Windows NT version 3.50. This problems was corrected in Windows NT version 3.51.

MORE INFORMATION

Steps to Reproduce Problem

  1. Assign a menu to a window class via RegisterClass().

  2. Modify the menu bar to be owner draw in WM_CREATE.

  3. Create multiple windows of the same window class.

Windows NT may stop responding, in which case, you must turn off the computer.


Additional reference words: 3.50
KBCategory: kbui kbfixlist kbbuglist
KBSubcategory: UsrMen UsrOwn
Solution Type : kbfix


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: October 29, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.