Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

RectInRegion

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function determines whether any part of the specified rectangle is within the boundaries of a region.


BOOL RectInRegion(
  HRGN hrgn, 
  const RECT* lprc
); 
hrgn

[in] Handle to the region.

lprc

[in] Long pointer to a RECT structure that contains the coordinates of the rectangle.

The lower and right edges of the rectangle are not included.

Nonzero indicates that any part of the specified rectangle lies within the boundaries of the region.

Zero indicates that no part of the specified rectangle lies within the boundaries of the region.

Headerwindows.h
Librarycoredll.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.