CGXProgressCtrl::CGXProgressCtrl

CGXProgressCtrl(CGXGridCore* pGrid);

pGrid

Pointer to the parent grid.

Remarks

Constructs a CGXProgressCtrl object.

You need to register this object in the grid with CGXGridCore::RegisterControl before you can use it in cells (see example).

Example

This example shows how Objective Grid registers a CGXProgressCtrl in the grid:

   CGXProgressCtrl* pProgressCtrl = new CGXProgressCtrl(this);
   RegisterControl(GX_IDS_CTRL_PROGRESS, pProgressCtrl);
   // You also have to register the user attributes with
   CGXProgressCtrl::AddUserAttributes(GetParam()->GetStylesMap());

See Also

 CGXGridCore::RegisterControl

CGXProgressCtrl

 Class Overview |  Class Members