IOleControl interface

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


The IOleControl interface has these methods.

Method Description
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 mneumonic.


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