Sign in Join
FPDoc Onlineexperiment

TCustomPage.CMHitTest procedure

Member of TCustomPageprotectedIn unit ComCtrls

Handles the CM_HITTEST control message.

Declaration

pascal
procedure CMHitTest(var Message: TLMNCHITTEST); message

Arguments

Message

Control message handled in the method.

Description

CMHitTest checks the type for the Parent control to determine whether the Message is ignored or forwarded to the inherited method. When Parent is a TCustomTabControl descendant, the class instance must be the active page in the parent control. When it is not, the Message result is set to 0 and the message is ignored. Otherwise, the inherited method is called to handle the Message.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.