TMainMenu.MenuChanged procedure
Implements the OnChange event handler used for menu items in the class instance.
Declaration
procedure MenuChanged(Sender: TObject; Source: TMenuItem;
Rebuild: Boolean); overrideArguments
Sender | Object of the change notification. |
Source | Menu item for the change notification. |
Rebuild | True to rebuild the child menu items for the menu. |
Description
MenuChanged is an overridden method in
TMainMenu. It
ensures that the
CM_MENUCHANGED control message is forwarded to the
WindowHandle (when assigned) where the menu is displayed.
MenuChanged calls the inherited method prior to exit to signal the
OnChange event handler (when assigned).
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
