<< Return to Main Index

< Return to Class Index

IGXHierarchyGrid::CreateAndRegisterControl

virtual WORD CreateAndRegisterControl(IGXHierarchyGrid* pHierGrid, WORD id  =0 );

pHierGrid

Specifies the child grid.

id 

Specifies the control id.

Return Value

The final control id associated with the child grid.

Remarks

This function will create a window wrapper to wrap the child grid so that it can be used in a parent grid’s cell and registers the window wrapper with the parent with the specified control id (or creates a new id if 0 is specified).

See Also

IGXHierarchyGrid::OnRegisterChildGrid IGXHierarchyGrid::OnChildGridInitializing

IGXHierarchyGrid

Class Overview | Class Members