SECScriptHostDoc::OnCreateFormObject

SECAFormObj*SECScriptHostDoc::OnCreateFormObject(CRuntimeClass*pRuntimeClass)

Create runtime form scripting object.

Defined in: ScriptHostDoc.cpp

Return Value

Pointer to newly created form object.

Parameters

pRuntimeClass

Runtime class for new form object. If NULL, SECAFormObj is used.

Comments

For convenience through the document template, the runtime class of the form object is set via the static member SetFormClass. This virtual override is provided to customize the form class on a per-object, rather than a per-class, basis. Simply pass in a SECAFormObj derived class to exploit.