◄CDC► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── void FrameRect( LPRECT lpRect, CBrush* pBrush ); Parameter Description <lpRect> Points to a ◄RECT► or ◄CRect► that contains the logical coordinates of the upper-left and lower-right corners of the rectangle. You can also pass a CRect object for this parameter. <pBrush> Identifies the brush to be used for framing the rectangle. Remarks Draws a border around the rectangle specified by <lpRect>. The function uses the given brush to draw the border. The width and height of the border is always one logical unit. If the rectangle's bottom coordinate is less than or equal to top, or if right is less than or equal to left, the rectangle is not drawn. See Also ◄CBrush►, ◄::FrameRect► -♦-