IOleControl interface (ocidl.h)

Provides the features for supporting keyboard mnemonics, ambient properties, and events in control objects.

Inheritance

The IOleControl interface inherits from the IUnknown interface. IOleControl also has these types of members:

Methods

The IOleControl interface has these methods.

 
IOleControl::FreezeEvents

Indicates whether the container is ignoring or accepting events from the control.
IOleControl::GetControlInfo

Retrieves information about the control's keyboard mnemonics and behavior.
IOleControl::OnAmbientPropertyChange

Informs a control that one or more of the container's ambient properties has changed.
IOleControl::OnMnemonic

Informs a control that the user has pressed a keystroke that represents a keyboard mnemonic.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header ocidl.h

See also

IOleControlSite

ISimpleFrameSite