<< Return to Main Index

< Return to Class Index

CGXOlePreview  Class Members

Construction

CGXOlePreview Unlike several other grid controls this control requires a CGXBrowser grid parent.

Overrideables

PreRender Called before rendering using an external viewer. Override this if you wish to perform any special processing in this context.
PostRender Called after the viewer has finished rendering.
PreDoVerb Called before a verb is invoked on the ole object.
PostDoVerb Called after a verb is invoked on the ole object.

Clipboard

OnActiveViewerPresent Will be called when there is a viewer present and the user attempts a clipboard operation. Normally we would return an error saying that the viewer should be used for editing.

Operations

SetActiveViewer Sets the located COGOleViewer instance as the active viewer for this control.
GetActiveViewer Return the active viewer for this control at the time.
GetViewerManager Return the viewer manager that can locate and create viewers based on a DWORD ID.
GetOleViewer Uses the cell style and the user attribute GX_IDS_UA_OLEVIEWERID to locate the viewer. It will pass the ID that is stored in this user attribute to the viewer manager.

CGXOlePreview

Class Overview