SRGraphLabelBlock::RemoveLastLabel
voidSRGraphLabelBlock::RemoveLastLabel(void)
Deletes the last label from the list
Defined in: SRGraphLabelBlock.cpp
Example
Tail end removal can be accomplished like so...CString strLabelText;
SRGraphLabelBlock *Labels=GetMyBlockPointer();
for (int x=0;x<7;x++)
{ // Add a few labels
strLabelText.Format(_T("%d"),x);
Labels->AddLabelIndex(strLabelText,x);
}
// not remove a few
while(Labels.GetLabelCount()>5);Labels->RemoveLastLabel();






