RAD Studio VCL Reference
TWinControl.IsControlActivateMsg Method

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

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

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!