COleClientItem::Close
voidClose(OLECLOSEdwCloseOption**=OLECLOSE_SAVEIFDIRTY);**
Parameters
dwCloseOption
Flag specifying under what circumstances the OLE item is saved when it returns to the loaded state. It can have one of the following values:
OLECLOSE_SAVEIFDIRTY Save the OLE item.
OLECLOSE_NOSAVE Do not save the OLE item.
OLECLOSE_PROMPTSAVE Prompt the user on whether to save the OLE item.
Remarks
Call this function to change the state of an OLE item from the running state to the loaded state, that is, loaded with its handler in memory but with the server not running. This function has no effect when the OLE item is not running.
For more information, see in the OLE documentation.
COleClientItem Overview | Class Members | Hierarchy Chart
See Also COleClientItem::UpdateLink