Microsoft Foundation OLE Classes (mfcole.hlp) (Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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.
 
 
                                     -♦-