<< Return to Main Index

< Return to Class Index

CGXHierarchyGrid::GetNearestSelectableCellInRow

BOOL GetNearestSelectableCellInRow(ROWCOL nRowIndex, int xSearchStart, ROWCOL& nResultCol, BOOL bLeftFirst);

nRowIndex

Specifies the logical row id.

xSearchStart

Specifies the x co-ordinates of the point referring to the beginning search position.

nResultCol

The resultant column. (Output parameter).

bLeftFirst

Specifies whether to start searching to the left or right first.

Return Value

TRUE if a valid cell was found; FALSE otherwise.

Remarks

Used internally to find the appropriate cell to move to when the current cell traverses

CGXHierarchyGrid

Class Overview | Class Members