SRGraph::DrawComponentList

void SRGraph::DrawComponentList(CDC * pDC, CWnd * pCWnd)

Walks the linked list of components, drawing them one by one onto the CDC provided -- called by the CWnd which displays this graph

Defined in: SRGraph.cpp

Parameters

pDC

Pointer to the device context used to paint the window

pCWnd

Pointer to the CWnd owning the device context

Developer Notes

Depending on the state of the m_bBackgroundDraw semaphore, the CDC passed may in fact be a memory DC used as a back buffer. Drawing onto the DC in memory hides the redraw process from the user and gives a smooth, flicker-free operation.