Checks if specified point is over the button
function PtInButton(p: TPoint): Boolean;
It uses in WM_LBUTTONDOWN, WM_LBUTTONDBLCLK, WM_SETCURSOR messages and TrackButton method to verify if specified point is over the button rectangle.
Copyright (c) 2004 - 2011 EControl Ltd.. All rights reserved.
|
What do you think about this topic? Send feedback!
|