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



The information in this article applies to:

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

This article was previously published under Q126720

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.

Modification Type:MinorLast Reviewed:5/3/2004
Keywords:kbBug kbfix kbMenu kbOSWinNT351fix KB126720