Delen via


CMFCPreviewCtrlImpl::SetRect

Sets a new bounding rectangle for this control.

virtual void SetRect(
   const RECT* prc,
   BOOL bRedraw
);

Parameters

  • prc
    Specifies the new size and position of the preview control.

  • bRedraw
    Specifies whether the control should be redrawn.

Remarks

Usually a new bounding rectangle is set when the host control is resized.

Requirements

Header: afxwin.h

See Also

Reference

CMFCPreviewCtrlImpl Class