<< Return to Main Index

< Return to Class Index

CGXMapDWordToLong::Remove

void Remove(DWORD nFrom, DWORD nTo);

nFrom

Specifies the first element.

nTo

Specifies the last element.

Remarks

Removes the specified elements.

Each element in the map has an id and a value. When used for row heights, the id specifies the row and the value specifies the height. When you remove rows in the grid, and call Remove for this map, those ids from the specified range will be removed.

For example:

Row 1 is 10, row 2 is 30 and row 5 is 20.

Now, you call Remove(2,3)

Row 1 will still be 10 and row 3 (previous 5) will be 20.

CGXMapDWordToLong

Class Overview | Class Members