Microsoft Foundation Classes (mfc.hlp) (Table of Contents; 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.
CMetaFileDC::SelectObject
CMetaFileDC                                 Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  BOOL SelectObject( CGdiObject* pObject );
 
  Parameter   Description
 
  <pObject>   Identifies the object to be selected into the CMetaFileDC.
              The selected object can be one of the following:
 
              CBitmap
              CBrush
              CFont
              CPen
              CRgn
              CPalette
 
  Remarks
 
  Selects an object into the CMetaFileDC.
 
  CMetaFileDC performs its own object cleanup, so an application does not
  have to reselect default objects when recording a metafile.
 
  Return Value
 
  TRUE if the function is successful; otherwise FALSE.
 
  See Also
 
  CGdiObject::DeleteObject, CDC::SelectClipRgn, CDC::SelectPalette,
  ::SelectObject
 
 
                                     -♦-