CMvcViewport::SetController

void CMvcViewport::SetController(ControllerClass* pController, const BOOL bAutoDelCtlr = FALSE)

Set the controller for this viewport.

Defined in: MvcViewport.h

Return Value

void

Parameters

pController

Pointer to controller to assign to the viewport.

bAutoDelCtlr

Flag indicating whether the viewport should destroy the controller in its destructor.