NonClientView_t::BoundPoint (Windows CE 5.0)
This method confines the touch coordinate to a rectangular area on the screen. If the touch coordinate lies outside the rectangle, NonClientView_t::BoundPoint automatically adjusts the touch coordinate to keep it inside the rectangular area.
static void BoundPoint(RECT* prcBound,POINT* ppt);
Parameters
- prcBound
[in] Pointer to a RECT structure that specifies the rectangular area within which you want to keep the touch coordinate. - ppt
[in, out] Pointer to a POINT structure that specifies the touch coordinate on input. On output, this structure receives the touch coordinate, which can differ from the value on input if NonClientView_t::BoundPoint adjusted the touch coordinate to keep it within the rectangular area specified by prcBound.
Return Values
None.
Requirements
OS Versions: Windows CE .NET 4.0 and later.
Header: Nclientview.hpp.
See Also
Send Feedback on this topic to the authors