IOleControlImpl

template< class T >
class IOleControlImpl

Parameters

T Your class, derived from IOleControlImpl.

Class IOleControlImpl provides a default implementation of the IOleControl interface and implements IUnknown by sending information to the dump device in debug builds.

Related Articles ATL Tutorial, Creating an ATL Project

#include <atlctl.h>

See Also IOleControl and ActiveX Controls Interfaces in the Win32 SDK


IOleControlImpl Class Members

IOleControl Methods
FreezeEventsIndicates whether or not the container ignores or accepts events from the control.
GetControlInfoFills in information about the control's keyboard behavior. The ATL implementation returns E_NOTIMPL.
OnAmbientPropertyChangeInforms a control that one or more of the container's ambient properties has changed. The ATL implementation returns S_OK.
OnMnemonicInforms the control that a user has pressed a specified keystroke. The ATL implementation returns E_NOTIMPL.

IOleControlImpl Overview


Methods


IOleControlImpl::FreezeEvents

HRESULT FreezeEvents( BOOL bFreeze );

See IOleControl::FreezeEvents in the Win32 SDK.

Remarks

In ATL's implementation, FreezeEvents increments the control class' m_nFreezeEvents data member if bFreeze is TRUE, and decrements m_nFreezeEvents if bFreeze is FALSE. FreezeEvents then returns S_OK.

IOleControlImpl Overview | Class Members

See Also CComControl::m_nFreezeEvents


IOleControlImpl::GetControlInfo

HRESULT GetControlInfo( LPCONTROLINFO pCI );

See IOleControl::GetControlInfo in the Win32 SDK.

Remarks

Returns E_NOTIMPL.

IOleControlImpl Overview | Class Members


IOleControlImpl::OnAmbientPropertyChange

HRESULT OnAmbientPropertyChange( DISPID dispid );

See IOleControl::OnAmbientPropertyChange in the Win32 SDK.

Remarks

Returns S_OK.

IOleControlImpl Overview | Class Members


IOleControlImpl::OnMnemonic

HRESULT OnMnemonic( LPMSG pMsg );

See IOleControl::OnMnemonic in the Win32 SDK.

Remarks

Returns E_NOTIMPL.

IOleControlImpl Overview | Class Members