PRB: FoxPro for Windows Cannot Use GetMenuString() Function

Last reviewed: August 28, 1995
Article ID: Q112856
The information in this article applies to:
  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b

SYMPTOMS

You cannot use the standard GetMenuString() Windows API function call to get the text string in a FoxPro for Windows menu.

CAUSE

FoxPro for Windows does not make calls to the Windows GetMenuString() function. It maintains the system menus by means of external menu callbacks. Therefore, there is no need to use GetMenuString(). Moreover, you do not even have access to the hMenu handle necessary to call this function. The FoxPro system menus are built dynamically and can change often.

STATUS

This behavior is by design.


Additional reference words: FoxWin 2.50 2.50a 2.50b lck winsdk library
construction kit
KBCategory: kbprg kbprb
KBSubcategory: FxtoolLck


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 28, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.