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
IOleControl Methods | |
FreezeEvents | Indicates whether or not the container ignores or accepts events from the control. |
GetControlInfo | Fills in information about the control's keyboard behavior. The ATL implementation returns E_NOTIMPL. |
OnAmbientPropertyChange | Informs a control that one or more of the container's ambient properties has changed. The ATL implementation returns S_OK. |
OnMnemonic | Informs the control that a user has pressed a specified keystroke. The ATL implementation returns E_NOTIMPL. |
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
HRESULT GetControlInfo( LPCONTROLINFO pCI );
See IOleControl::GetControlInfo in the Win32 SDK.
Remarks
Returns E_NOTIMPL.
IOleControlImpl Overview | Class Members
HRESULT OnAmbientPropertyChange( DISPID dispid );
See IOleControl::OnAmbientPropertyChange in the Win32 SDK.
Remarks
Returns S_OK.
IOleControlImpl Overview | Class Members
HRESULT OnMnemonic( LPMSG pMsg );
See IOleControl::OnMnemonic in the Win32 SDK.
Remarks
Returns E_NOTIMPL.