Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: 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().

Defined in MGridCursorMoveCallBack:
HandleCursorMoveL()


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(), CGridImg::SetAnchorPosL(), CGridImg::MoveCursorL(),CGridImg::ResetSelectedL(), CGridImg::AddRangeToSelectedL(), CGridImg::AddRegionToSelectedL(), CGridImg::AddRowToSelectedL(), CGridImg::AddColToSelectedL().

The function is commonly used to do any necessary redrawing.