PRB: FoxPro for Windows Cannot Use GetMenuString() Function

ID: Q112856

The information in this article applies to:

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

Last Reviewed: August 28, 1995