MvcController::Create

BOOLMvcController::Create(CWnd*pWnd, MvcVisualComponent*pVp)

Create the controller on the specified visual component

Defined in: MvcController.cpp

Return Value

Returns TRUE if the creation was successful

Parameters

pWnd

The window this controller will be plugged in to

pVp

The visual component this controller is acting upon

Comments

The create function creates the controller and plugs it into the specified window and visual component. Note: it is not necessary to make a separate call to PlugInTo. Create will call it for you. However, if you later need to plug an existing controller into a different window and/or visual component, you can do so by calling PlugInTo directly.

See Also

PlugInTo