Clear (detach) the menu strip from the window.
Source position: intuition.pas line 4084
procedure ClearMenuStrip( |
window: pWindow |
); |
window |
|
A pointer to a window structure |
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.
|
Attach a menu strip to a window. |
|
|
Re-attach a menu strip to a window. |