Microsoft KB Archive/112856

{| = PRB: FoxPro for Windows Cannot Use GetMenuString Function =
 * width="100%"|

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
 * }