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.
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
 
 
                                     -♦-