Knowledge Base

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

Article ID: 126720

Article Last Modified on 5/3/2004


APPLIES TO


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.

Keywords: kbbug kbfix kbmenu kboswinnt351fix KB126720