[Overview][Constants][Types][Procedures and functions][Variables][Index] Reference for unit 'Intuition' (#aros)

ResetMenuStrip

Re-attach a menu strip to a window.

Declaration

Source position: intuition.pas line 3305

function ResetMenuStrip(

  Window: PWindow;

  Menu: PMenu

):LongBool;

Arguments

Window

  

A pointer to a Window structure

Menu

  

A pointer to the first menu in the menu strip

Function result

True always.

Description

This function is simply a "fast" version of SetMenuStrip() that doesn't perform the precalculations of menu page sizes that SetMenuStrip() does.

You may call this function only if the menu strip and all items and sub-items have not changed since the menu strip was passed to SetMenuStrip(), with the following exceptions:

In all other ways, this function performs like SetMenuStrip().

The new sequence of events you can use is:

See also

SetMenuStrip

  

Attach a menu strip to a window.

ClearMenuStrip

  

Clear (detach) the menu strip from the window.


Documentation generated on: 2017-01-10