DrawMenuBar

  BOOL DrawMenuBar(hwnd)    
  HWND hwnd; /* handle of window with menu bar to redraw */

The DrawMenuBar function redraws the menu bar of the given window. If the menu bar is changed after Windows has created the window, this function should be called to draw the changed menu bar.

Parameters

hwnd

Identifies the window whose menu bar needs redrawing.

Return Value

The return value is TRUE if the function is successful or FALSE if an error occurs. To obtain extended error information use the GetLastError function.

See Also

AppendMenu, DeleteMenu, InsertMenu, ModifyMenu, RemoveMenu