Indicates whether a specified mouse message is directed to one of the windowed control's child controls.
function IsControlMouseMsg(var Message: TWMMouse): Boolean;
__fastcall Boolean IsControlMouseMsg(TWMMouse Message);
Call IsControlMouseMsg to find out if a mouse message is directed to one of the control's child controls. Specify the mouse message as the value of the Message parameter.
Windows takes care of sending messages to windowed child controls, but for nonwindowed child controls, Windows sends the messages to the parent control, which must then determine which, if any, of its child controls should receive the message.
The WndProc method of a windowed control calls IsControlMouseMsg to process all mouse message sent to the windowed control.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!