CGXControl::GetControlClass

virtual CGXControlClass* GetControlClass() const;

Return Value

A pointer to the CGXControlClass structure corresponding to this object’s class.

Remarks

There is one CGXControlClass structure for each CGXControl-derived class. The structure members are as follows:

?LPCSTR m_lpszClassName A null-terminated string containing the ASCII class name.

·CGXControlClass* m_pBaseClass A pointer to the CGXControlClass structure that corresponds to the base class.

This function requires use of the GRID_IMPLEMENT_CONTROL macro in the class implementation. You will get incorrect results otherwise.

See Also

 CGXControl::IsKindOf

CGXControl

 Class Overview |  Class Members