Vcl.ActnMenus.TCustomActionMenuBar.WndProc

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure WndProc(var Message: TMessage); override;

C++

virtual void __fastcall WndProc(Winapi::Messages::TMessage &Message);

Properties

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

Description

Provides specific message responses for the control.

Vcl.ActnMenus.TCustomActionMenuBar.WndProc inherits from Vcl.Controls.TWinControl.WndProc. All content below this line refers to Vcl.Controls.TWinControl.WndProc.

Provides specific message responses for the control.

Override WndProc to change the initial Windows message handler for the control. The WindowProc property is initialized to point to the WndProc method.

WndProc for TWinControl overrides the inherited method to define responses for focus, mouse, and keyboard messages. It sends all others to its inherited WndProc.

When overriding WndProc to provide specialized responses to messages, call the inherited WndProc at the end to dispatch any unhandled messages.

See Also

Code Examples