void AddPlugin(CGXPluginComponent* pPlugin);
pPlugin
Pointer to the plug-in component object.
Call this method to register a plug-in component object with the grid. The grid loops through all registered plug-in component object in its WindowProc. All registered objects will be deleted when the grid is destroyed.
AddPlugin calls CGXPluginComponent::PlugIn to initialize the plug-in component object.
Here is a sample how to call AddPlugin
void CMygridView::OnInitialUpdate()
{
AddPlugin(new CMyPluginComponent(this));
CGXGridView::OnGridInitialUpdate();
}
Class Overview | Class Members