IOleInPlaceSiteEx interface (ocidl.h)

Provides an additional set of activation and deactivation notification methods that enable an object to avoid unnecessary flashing on the screen when the object is activated and deactivated.

When an object is activated, it does not know if its visual display is already correct. When the object is deactivated, the container does not know if the visual display is correct. To avoid a redraw and the associated screen flicker in both cases, the container can provide this extension to IOleInPlaceSite.

Inheritance

The IOleInPlaceSiteEx interface inherits from IOleInPlaceSite. IOleInPlaceSiteEx also has these types of members:

Methods

The IOleInPlaceSiteEx interface has these methods.

 
IOleInPlaceSiteEx::OnInPlaceActivateEx

Called by the embedded object to determine whether it needs to redraw itself upon activation.
IOleInPlaceSiteEx::OnInPlaceDeactivateEx

Notifies the container if the object needs to be redrawn upon deactivation.
IOleInPlaceSiteEx::RequestUIActivate

Notifies the container that the object is about to enter the UI-active state.

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

IOleInPlaceSite