SECMultiDocTemplate::CreateNewFrame

CFrameWnd*SECMultiDocTemplate::CreateNewFrame(CDocument*pDoc, CFrameWnd*pOther, BOOLbInitiallyDocked, intnDockedViewBarID)

Create a new frame window, with the option of initially docked

Defined in: Sdocmult.cpp

Return Value

CFrameWnd pointer to the newly created frame.

Parameters

pDoc

Existing document to base this new frame upon (multiple views per 1 document)

pOther

Existing frame to base the new frame upon, can be NULL

bInitiallyDocked

Set true to create initially docked

nDockedViewBarID

Use this parameter to specify the controlbar id used to wrap the docked view, if bInitiallyDocked was set.