◄CDC► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── BOOL FrameRgn( CRgn* pRgn, CBrush* pBrush, int nWidth, int nHeight ); Parameter Description <pRgn> Points to the CRgn object that identifies the region to be enclosed in a border. The coordinates for the given region are specified in device units. <pBrush> Points to the CBrush object that identifies the brush to be used to draw the border. <nWidth> Specifies the width in vertical brush strokes (in logical units). <nHeight> Specifies the height in horizontal brush strokes (in logical units). Remarks Draws a border around the region specified by <pRgn>, using the brush specified by <pBrush>. The <nWidth> parameter specifies the width of the border in vertical brush strokes; <nHeight> specifies the height in horizontal brush strokes. Return Value TRUE if the function is successful; otherwise FALSE. See Also ◄::FrameRgn►, ◄CBrush►, ◄CRgn► -♦-