<< Return to Main Index

< Return to Class Index

CGXOleViewer Class Members

Construction

CGXOleViewer Constructor for the CGXOleViewer abstract class.

Overrideables

Render Called to render data. The viewer can spawn an external program based on the CLSID of the object etc.
ActivateExisting This is called when attempting to activate an existing viewer
AccessData This is called to simply access data in the stream
Close This should close any external viewer.
OnModify This is called when the OLE stream that is being edited has been modified.
Clear This is called to Close the viewer and free any associated interfaces and memory.
SaveFromStorage Called from the clientsite when a save is required.
GetData Called to retrieve the edited data.
GetStorage Called to access the underlying storage.
GetOleObject Called to access the IOleObject interface on the loaded stream.
GetClientSite Called to get a IOleClientSite object when required.

Clipboard

CanPaste Called to check if the viewer object supports paste at this juncture.
Paste Handle paste.
CanCopy Called to check if the viewer object supports copy at this juncture.
Copy Copy data and return an IdataObject pointer.
CanCut Called to determine whether the control supports cut at this juncture.
Cut Return an IDataObject pointer with the cut data.

Operations

GetActiveControl Get the active CGXControl instance that controls this viewer.
SetActiveControl Sets the active CGXControl instance that controls this viewer.

CGXOleViewer

Class Overview