Vcl.ActnMenus.TCustomActionMainMenuBar.MainWndHook

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function MainWndHook(var Message: TMessage): Boolean;

C++

bool __fastcall MainWndHook(Winapi::Messages::TMessage &Message);

Properties

Type Visibility Source Unit Parent
function protected
Vcl.ActnMenus.pas
Vcl.ActnMenus.hpp
Vcl.ActnMenus TCustomActionMainMenuBar

Description

Hooks the main menu window.

MainWndHook is used to gray out main menu items when the application does not have focus.

See Also