Unit 'Intuition' Package
[Overview][Constants][Types][Procedures and functions][Variables][Index] [#aros]

ClearMenuStrip

Clear (detach) the menu strip from the window.

Declaration

Source position: intuition.pas line 3196

procedure ClearMenuStrip(

  Window: PWindow

);

Arguments

Window

  

A pointer to a window structure

Description

Detaches the current menu strip from the window; menu strips are attached to windows using the SetMenuStrip() function.

If the menu is in use (for that matter if any menu is in use) this function will block (Wait()) until the user has finished.

Call this function before you make any changes to the data in a TMenu or TMenuItem structure# which is part of a menu strip linked into a window.

See also

SetMenuStrip

  

Attach a menu strip to a window.

ResetMenuStrip

  

Re-attach a menu strip to a window.


Documentation generated on: 2021-07-30