ButtonView_t::HitDetect
Other versions of this page are also available for the following:
8/28/2008
This method determines whether a mouse click or stylus tap occurred within the rectangle for a button.
Syntax
static bool HitDetect(
HWND hwnd,
POINT pt
);
Parameters
- hwnd
[in] Handle to a window.
- pt
[in] POINT structure that specifies the location of the mouse click or stylus tap on the screen.
Return Value
TRUE indicates that the click or tap occurred within the button. FALSE indicates that the click or tap did not occur within the button.
Requirements
Header | buttonview.hpp |
Windows Embedded CE | Windows CE .NET 4.0 and later |