This method retrieves DISPID_AMBIENT_USERMODE, a flag indicating whether the container is in run-mode (TRUE) or design-mode (FALSE).
HRESULT GetAmbientUserMode( BOOL& bUserMode );
| Header file: | Atlctl.h |
| Platforms: | |
| Versions: | 2.0 and later |
| Complete documentation: | Visual C++ documentation |
CComControl Overview, CComControl Methods