CGXHotSpotEdit::CGXHotSpotEdit

CGXHotSpotEdit(CGXGridCore* pGrid , UINT nID);

pGrid

Pointer to the parent grid.

nID

Specifies the edit control’s window ID.

Remarks

Constructs a hotspot edit control 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 static control in the grid:

RegisterControl(GX_IDS_CTRL_HOTSPOT, new CGXHotSpotEdit(this, 18004));
// 18004 is simply an id. The id range reserved for Objective Grid is 18000-18999.

See Also

 CGXGridCore::RegisterControl

CGXHotSpotEdit

 Class Overview |  Class Members