CGXAbstractControlFactory::UnregisterWndClasses
virtual void UnregisterWndClasses(HINSTANCE hResource) = 0;
hResource
Use this instance handle for registering the window class (as shown in the example).
Remarks
UnregisterWndClasses is the counterpart to RegisterWndClasses. It is called during the cleanup of your application (i.e., when you call GXForceTerminate).
If you have derived a class CGXAbstractControlFactory, you need to override this method.
Here is how a typical override of UnregisterWndClasses should look:
void CGXControlFactory::UnregisterWndClasses(HINSTANCE hInstance)
{
CGXGridWnd::UnregisterClass(hInstance);
#if !defined(_GX_NO_TABWND_SUPPORT)
// Tab Window
CGXTabBeam::UnregisterClass(hInstance);
CGXTabWnd::UnregisterClass(hInstance);
#endif
}
See Also
GRID_DECLARE_REGISTER GRID_IMPLEMENT_REGISTER CGXAbstractControlFactory::RegisterWndClasses