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.
COleServerItem::OnDraw
COleServerItem                              Up Contents Index Back
──Microsoft Foundation OLE Classes──────────────────────────────────────────
  protected:
      virtual BOOL OnDraw( CMetaFileDC* <pDC> ) = 0;
 
  Parameter   Description
 
  <pDC>       A pointer to a CDC device context object on which to draw
              the item.
 
  Remarks
 
  You must implement this function to draw the server item to the
  boundaries set in the m_rectBounds data member. The OnDraw member
  function is called in response to the client's COleClientItem::Draw
  function.
 
  See Also
 
  COleClientItem::Draw
 
 
                                     -♦-