Microsoft KB Archive/126720

{|
 * width="100%"|

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

 * }

Q126720

-

The information in this article applies to:


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

-

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.

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 kbOSWinNT350bug kbOSWinNT351fix kbGrpDSUser

Issue type :

Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch