This method deactivates and removes the control’s user interface that supports in-place activation, and sets the m_bUIActive data member to FALSE. The ATL implementation of this function always returns S_OK.
At a Glance
| Header file: | Atlctl.h | 
| Windows CE versions: | 2.0 and later | 
| Complete documentation: | Visual C++ documentation | 
Syntax
HRESULT UIDeactivate( ); 
See Also