Microsoft Foundation Classes (mfc.hlp) (Table of Contents; Topic list)
RUNTIME_CLASS Macro
CObject                                     Up Contents Index Back
──Microsoft Foundation Classes──────────────────────────────────────────────
 
  RUNTIME_CLASS( class_name )
 
  Parameter    Description
 
  <class_name> The actual name of the class (without quotes).
 
  Remarks
 
  RUNTIME_CLASS returns a pointer to a CRuntimeClass structure for the
  class specified by <class_name>.
 
  Example
 
  CRuntimeClass* prt = RUNTIME_CLASS( CAge );
  ASSERT( strcmp( prt->m_pszClassName, "CAge" )  == 0 );
 
 
  See Also
 
  DECLARE_DYNAMIC Macro, CObject::GetRuntimeClass,
  IMPLEMENT_DYNAMIC Macro
 
 
                                     -♦-