Vcl.Controls.TWinControl.IsControlActivateMsg

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function IsControlActivateMsg(var Message: TWMMouseActivate; Control: TControl = nil): Boolean;

C++

bool __fastcall IsControlActivateMsg(Winapi::Messages::TWMMouseActivate &Message, TControl* Control = (TControl*)(0x0));

Properties

Type Visibility Source Unit Parent
function protected
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TWinControl

Description

Indicates whether a specified mouse activation message is directed to the given child control.

Call IsControlActivateMsg to find out whether a mouse activation message is directed to the child control given by the Control parameter. Specify the mouse activation message as the value of the Message parameter.

The WndProc method of a windowed control calls IsControlActivateMsg to process all mouse activation messages sent to the windowed control.

See Also