SECMultiDocTemplate::OpenDocumentFile

CDocument*SECMultiDocTemplate::OpenDocumentFile(LPCTSTRlpszPathName, BOOLbMakeVisible, BOOLbInitiallyDocked, intnDockedViewBarID)

Open a new document, with the option to create initially docked.

Defined in: Sdocmult.cpp

Return Value

CDocument pointer to the newly created document

Parameters

lpszPathName

Path to document to be opened

bMakeVisible

Set True to create visible

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.