Skip to content

Latest commit

 

History

History
120 lines (57 loc) · 2.33 KB

PyCEditView.md

File metadata and controls

120 lines (57 loc) · 2.33 KB

PyCEditView

PyCEditView Object

A class which implementes a CView of a text file. Derived from PyCView and PyCEdit objects.

Methods

PyCEditView.GetEditCtrl

PyCEditCtrl

= GetEditCtrl() returns the underlying edit control object.

PyCEditView.IsModified

int = IsModified() Indicates if the view's document has the modified flag set.

PyCEditView.LoadFile

LoadFile(fileName) Loads a file into the view.

Parameters

  • fileName : string

    The name of the file to be loaded.

PyCEditView.OnCommand

OnCommand(wparam, lparam) Calls the standard Python framework OnCommand handler

Parameters

  • wparam : int

  • lparam : int

See Also

PyCEditView.PreCreateWindow

tuple = PreCreateWindow(createStruct) Calls the underlying MFC PreCreateWindow method.

Parameters

  • createStruct : tuple

    A tuple representing a CREATESTRUCT structure.

PyCEditView.SaveFile

SaveFile(fileName) Saves the view to a file.

Parameters

  • fileName : string

    The name of the file to be written.

PyCEditView.SetModifiedFlag

SetModifiedFlag(bModified) Sets the modified flag for the view's document.

Parameters

  • bModified=1 : int

    The modified state to set.