CGXGridCore::AddPlugin

void AddPlugin(CGXPluginComponent* pPlugin);

pPlugin

Pointer to the plug-in component object.

Remarks

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.

Example

Here is a sample how to call AddPlugin

void CMygridView::OnInitialUpdate()
{
   AddPlugin(new CMyPluginComponent(this));
   CGXGridView::OnGridInitialUpdate();
}

See Also

 CGXPluginComponent::PlugIn

CGXGridCore

 Class Overview |  Class Members