Microsoft KB Archive/61338

= Docerr in MenuSet and MenuSetState in UI Toolbox of PDS 7.00 =

Article ID: 61338

Article Last Modified on 11/21/2006



This article was previously published under Q61338



SUMMARY
Pages 546 and 547 of the &quot;Microsoft Basic 7.0: Language Reference&quot; for Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 incorrectly state that the subroutine MenuSetState treats -1 as a legal value for the parameter state%. The lowest legal value for state% is 0. This is the scope of the MenuSetState routine. The MenuSet subroutine should be called to remove an item from a menu.

The MenuSet subroutine, on Pages 545 and 546 of the same manual, is also documented incorrectly because the lowest legal value of MenuSet is actually -1, not 0. To make a menu item or menu title disappear, you must call MenuSet with state% equal to -1.

Additional query words: BasicCom SR# S900412-65

Keywords: KB61338

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.