CStatusBar::CommandToIndex

int CommandToIndex( UINT nIDFind ) const;

Return Value

The index of the indicator if successful; –1 if not successful.

Parameters

nIDFind

String ID of the indicator whose index is to be retrieved.

Remarks

Gets the indicator index for a given ID. The index of the first indicator is 0.

CStatusBar OverviewClass MembersHierarchy Chart

See Also   CStatusBar::GetItemID