Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
1/6/2010
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 |