XLL+ Class Library (7.0)

CRibbonEvtParams::GetIndex

Returns the index of the item for which the control raised this event

long GetIndex( );

Remarks

See CXllApp::OnRibbonEvent for a list of which callback types pass a value for Index. If no value is available, then -1 will be returned.

Requirements

Header: xlpribbon.h

See Also

CRibbonEvtParams Class | CRibbonEvtParams Methods