Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <GRDSTD.H>

Class MGridCursorMoveCallBack

class MGridCursorMoveCallBack;

Description

An interface to a callback function that is intended to be called whenever there is a change to the cursor position.

If such a callback is needed, a concrete implementation is defined, instantiated and passed to CGridImg::SetCursorMoveCallBack(MGridCursorMoveCallBack *).

Members

Defined in MGridCursorMoveCallBack:


Member functions


HandleCursorMoveL()

virtual void HandleCursorMoveL()=0;

Description

Deals with the change to the cursor position.

This function is called immediately before exiting the following functions: CGridImg::SetCursorPosL(const TCellRef &), CGridImg::SetAnchorPosL(const TCellRef &), CGridImg::MoveCursorL(TMoveDirectionAndAmount,TUint),CGridImg::ResetSelectedL(), CGridImg::AddRangeToSelectedL(const TRangeRef &,TSelectType), CGridImg::AddRegionToSelectedL(const CArrayFix< TRangeRef > *,TSelectType), CGridImg::AddRowToSelectedL(TInt,TSelectType), CGridImg::AddColToSelectedL(TInt,TSelectType).

The function is commonly used to do any necessary redrawing.