RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDockCaptionDrawer.DockCaptionHitTest Method

Indicates which docked control is at a specified mouse position.

Pascal
function DockCaptionHitTest(const CaptionRect: TRect; const MousePos: TPoint): TDockCaptionHitTest; virtual;
C++
virtual __fastcall TDockCaptionHitTest DockCaptionHitTest(const TRect CaptionRect, const TPoint MousePos);

Provides hit tests for the caption. You can return your own hit test results for your own drawer, using custom values. 

 

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