XLL+ Class Library

CXllPushApp::OnCellUpdate

Called in main thread whenever a connected cell range is updated

[C++]
virtual void OnCellUpdate(
   PCXPPRANGEDATA data,
   PXPPCELLFORMAT format
);

Parameters

data

Read-only structure containing information about the cell, including its previous and current values.

format

Writeable structure containing formatting instructions for the cell. The flMask member should be set to indicate which of the structure's members have been populated.

Remarks

This event is raised in the main thread just after a range has been recalculated and just before it is reformatted.

The implementation may populate various members of *format. The default implementation sets cells whose numeric value has increased to blue text, and cells whose value has decreased to red. If GetFormatChangedCells() returns FALSE, then the default implementation does nothing.

Requirements

Header: xlppush.h

See Also

CXllPushApp Class | CXllPushApp Methods | CXllPushApp::OnTopicRemove