XLL+ Class Library (7.0)

CRibbonEvtParams::GetSelectedId

Returns the id of the selected item within the control which raised this event

const CString& GetSelectedId( );

Remarks

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

Requirements

Header: xlpribbon.h

See Also

CRibbonEvtParams Class | CRibbonEvtParams Methods