PyCOleClientItem Object

An OLE client item class. Encapsulates an MFC COleClientItem class

Methods

CreateNewItem
Creates an embedded item. 

Close
Closes the item. 

DoVerb
Executes the specified verb. 

Draw
Draws the OLE item into the specified bounding rectangle using the specified device context. 

GetActiveView
Obtains the active view for the item 

GetDocument
Obtains the current document for the item 

GetInPlaceWindow
Obtains the window in which the item has been opened for in-place editing. 

GetItemState
Obtains the OLE item's current state 

GetObject
Returns the COM object to the item. This is the m_lpObject variable in MFC. 

GetStorage
Returns the COM object used for storage 

OnActivate
Calls the underlying MFC handler. 

OnChange
Calls the underlying MFC handler. 

OnChangeItemPosition
Calls the underlying MFC method. 

OnDeactivateUI
Calls the underlying MFC method. 

Run
Runs the application associated with this item. 

SetItemRects
Sets the bounding rectangle or the visible rectangle of the OLE item.