Microsoft KB Archive/94612

{|
 * width="100%"|

DOCERR: Name of Standard Help Menu Incorrect for InsertItem

 * }

Q94612

-

The information in this article applies to:


 * Microsoft Windows Software Development Kit (SDK) 3.1

-

SYMPTOMS
An &quot;Unable to add menu item&quot; error message occurs when trying to add a menu item to the Windows Help engine's Help menu with InsertItem.

CAUSE
MNU_HELPON is being used as the Help menu identifier in the InsertItem macro.

RESOLUTION
Page 318 of Microsoft Windows version 3.1 SDK &quot;Programmer's Reference, Volume 4: Resources&quot; incorrectly lists MNU_HELPON as the Help menu identifier for the Help engine. The correct identifier for the Help menu is MNU_HELP. Using the incorrect identifier does not cause an error when the Help file is compiled, but does cause an &quot;Unable to add menu item&quot; error when the macro is executed by the Windows Help engine.

Additional query words: 3.10 winhelp hc docerr

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbWin3xSearch kbSDKSearch kbWinSDKSearch kbWinSDK310