SRGraph::GetNextComponent
SRGraphComponent *SRGraph::GetNextComponent(POSITION&rPos, UINTType)
Searches the m_ComponentList member for the next qualifying SRGraphComponent-based object
Defined in: SRGraph.cpp
Return Value
Pointer to a valid SRGraphComponent-based object or NULL if unsuccessful
Parameters
rPos
POSITION within the list
Type
-1 for the next component -- otherwise use a valid component type
IDS_SRG_DATATYPE returns the next data component
IDS_SRG_LEGENDTYPE returns the next legend component
IDS_SRG_BACKGROUNDTYPE returns the next background component
IDS_SRG_TITLETYPE returns the next title component
Remarks
May be used to iterate the m_ComponentList when repositioning or reformatting componentsSee also...
GetFirstComponentPosition, m_ComponentList