Skip to content

Latest commit

 

History

History
44 lines (22 loc) · 1.07 KB

PyCOleInsertDialog.md

File metadata and controls

44 lines (22 loc) · 1.07 KB

PyCOleInsertDialog

PyCOleInsertDialog Object

An OLE 'Insert Object' dialog. Encapsulates an MFC COleInsertDialog

class

Methods

  • GetClassID

    Returns the CLSID associated with the selected item 

  • GetSelectionType

    Returns the type of selection made 

  • GetPathName

    Returns the full path to the file selected in the dialog box 

CLSID = GetClassID() Returns the CLSID associated with the selected item

PyCOleInsertDialog.GetPathName

CLSID = GetPathName() Returns the full path to the file selected in the dialog box

Comments

Do not call this if the selection type is createNewItem,

PyCOleInsertDialog.GetSelectionType

CLSID = GetSelectionType() Returns the type of selection made