共用方式為


IOleControlImpl Class

This class provides a default implementation of the IOleControl interface and implements IUnknown.

Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

template< class T> 
class IOleControlImpl

Parameters

  • T
    Your class, derived from IOleControlImpl.

Members

Public Methods

Name

Description

IOleControlImpl::FreezeEvents

Indicates whether or not the container ignores or accepts events from the control.

IOleControlImpl::GetControlInfo

Fills in information about the control's keyboard behavior. The ATL implementation returns E_NOTIMPL.

IOleControlImpl::OnAmbientPropertyChange

Informs a control that one or more of the container's ambient properties has changed. The ATL implementation returns S_OK.

IOleControlImpl::OnMnemonic

Informs the control that a user has pressed a specified keystroke. The ATL implementation returns E_NOTIMPL.

Remarks

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

Inheritance Hierarchy

IOleControl

IOleControlImpl

Requirements

Header: atlctl.h

See Also

Reference

IOleObjectImpl Class

ActiveX Controls Interfaces

Other Resources

ATL Class Overview