This method changes the control from the running to the loaded state. Deactivates the control and destroys the control window if it exists. If the m_bRequiresSave data member is TRUE and the dwSaveOption parameter is either OLECLOSE_SAVEIFDIRTY or OLECLOSE_PROMPTSAVE, the control properties are saved before closing.
At a Glance
Header file: | Atlctl.h |
Windows CE versions: | 2.0 and later |
Complete documentation: | Visual C++ documentation |
Syntax
HRESULT Close( DWORD dwSaveOption );