MvcPresentationModel_T::AddRendering

void MvcPresentationModel_T::AddRendering(MvcVisualPart* pVisualPart)

Adds a visual part to the to the list of dependents

Defined in: MvcPresentationModel.h

Return Value

void

Parameters

pVisualPart

A pointer to an object that is dependent on (observing) this object

Comments

This function adds any object derived from MvcVisualPart to our list of renderers. When the presentation model changes the graphics, each renderer is informed of the invalidated logical rectangle. The render is responsible for mapping the logical rectangle into device coordinate and performing the actual windows invalidation.

See Also

RemoveRendering