NonClientView_t::BoundPoint (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

None.

Requirements

Header nclientview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

NonClientView_t
POINT
RECT