COleControl::OnClose

virtual void OnClose( DWORD dwSaveOption );

Parameters

dwSaveOption

Flag that indicates whether the object should be saved before loading. Valid values are:

Remarks

Called by the framework when the container has called the control’s IOleControl::Close function. By default, OnClose saves the control object if it has been modified and dwSaveOption is either OLECLOSE_SAVEIFDIRTY or OLECLOSE_PROMPTSAVE.

COleControl OverviewClass MembersHierarchy Chart