SRGraph::GetFirstComponentPosition
POSITIONSRGraph::GetFirstComponentPosition(UINTType)
Returns the POSITION of the first component with the specified type
Defined in: SRGraph.cpp
Return Value
A valid POSITION or NULL if unsuccessful
Parameters
Type
-1 to fetch the first position regardless of type -- otherwise use a valid SRGraphComponent type
IDS_SRG_DATATYPE returns the first data component
IDS_SRG_LEGENDTYPE returns the first legend component
IDS_SRG_BACKGROUNDTYPE returns the first background component
IDS_SRG_TITLETYPE returns the first title component
Remarks
May be used to iterate the component listSee also...
GetComponentList, m_ComponentList, GetNextComponent