SECEditController::Create

BOOL SECEditController::Create(CWnd* pWnd, MvcVisualComponent* pComp)

Creates the controller on the specified visual component.

Defined in: SECEditController.cpp

Return Value

Returns non-zero if successful; otherwise 0.

Parameters

pWnd

Points to the window this controller will be plugged in to.

pComp

Points to 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.

Developer Notes

It is not necessary to make a separate call to MvcController::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

SECEditController MvcController::PlugInTo