Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This function determines whether any part of the specified rectangle lies within the clipping region of the specified device context.

Syntax

BOOL RectVisible( 
  HDC 
hdc, 
  CONST RECT* 
lprc
);

Parameters

hdc

[in] Handle to the device context.

lprc

[in] Long pointer to a RECTstructure that contains the logical coordinates of the specified rectangle.

Return Value

Nonzero indicates that some portion of the specified rectangle lies within the clipping region.

Zero indicates that no portion of the specified rectangle lies within the clipping region.

Requirements

Header windows.h
Library coredll.lib
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also