Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
COleClientItem::SetBounds
COleClientItem                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
 
  void SetBounds( LPRECT lpRect );
 
  Parameter   Description
 
  <lpRect>    A pointer to a CRect object or RECT structure that is the
              destination for the bounds information.
 
  Remarks
 
  Sets the extents of the bounding rectangle on the client's target device
  for this embedded item. The coordinates are in MM_HIMETRIC units.
 
  The bounding rectangle does not need to have the same dimensions as the
  rectangle specified by the Draw member function's <lpBounds> parameter.
  These dimensions may be different because of the view scaling used by
  the client application's container window. The client application can
  call SetBounds to make the server reformat the picture to better fit the
  rectangle.
 
 
                                     -♦-