PyCDocument.OnOpenDocument Virtual

OnOpenDocument(fileName)

Called by the MFC architecture.

Parameters

fileName : string

The name of the file being opened.

Comments

If a handler is defined for this function, the base (MFC) function will not be called. If necessary, the handler must call this function explicitely.

See Also

PyCDocument::OnOpenDocument

Return Value

TRUE if the document could be opened, else FALSE.