◄CDC► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── Windows 3.1 only UINT GetBoundsRect( LPRECT lpRectBounds, UINT flags ); Parameter Description <lpRectBounds> Points to a buffer that will receive the current bounding rectangle. The rectangle is returned in logical coordinates. <flags> Specifies whether the bounding rectangle is to be cleared after it is returned. This parameter can be one of the following values: Value Meaning DCB_RESET Forces the bounding rectangle to be cleared after it is returned. DCB_WINDOWMGR Queries the Windows bounding rectangle instead of the application's. Remarks Returns the current accumulated bounding rectangle for the specified device context. Return Value Specifies the current state of the bounding rectangle if the function is successful. It can be a combination of the following values: Value Meaning DCB_ACCUMULATE Bounding rectangle accumulation is occuring. DCB_RESET Bounding rectangle is empty. DCB_SET Bounding rectangle is not empty. DCB_ENABLE Bounding accumulation is on. DCB_DISABLE Bounding accumulation is off. See Also ◄CDC::SetBoundsRect►, ◄::GetBoundsRect► -♦-