CGXControl::GetRuntimeClass
virtual CRuntimeClass* GetRuntimeClass() const;
Return Value
A pointer to the CRuntimeClass structure corresponding to this CWnd class; NULL if the control is not derived from CWnd.
Remarks
This function requires use of the IMPLEMENT_DYNAMIC macro in the class implementation of your derived control. You will get incorrect results otherwise.