Redraws the menu bar of the specified window. If the menu bar changes after the system has created the window, this function must be called to draw the changed menu bar.
Programmatically removing submenus from VFP main menu
BOOL WINAPI DrawMenuBar(
__in HWND hWnd
);
DECLARE INTEGER DrawMenuBar IN user32;
INTEGER hWindow
hWnd [in] HWND A handle to the window whose menu bar is to be redrawn.
If the function succeeds, the return value is nonzero.
See also: DeleteMenu, RemoveMenu.