CMvcViewport::SetController

voidCMvcViewport::SetController(ControllerClass*pController, const BOOLbAutoDelCtlr= 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.