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

ID: Q126720

The information in this article applies to:

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 query words:

Keywords          : kbMenu kbNTOS350bug kbNTOS351fix kbGrpUser 
Solution Type     : kbfix

Last Reviewed: December 26, 1998