IViewObjectEx interface (ocidl.h)

An extension derived from IViewObject2 to provide support for:

  • Enhanced, flicker-free drawing for non-rectangular objects and transparent objects
  • Hit testing for non-rectangular objects
  • Control sizing

Inheritance

The IViewObjectEx interface inherits from IViewObject2. IViewObjectEx also has these types of members:

Methods

The IViewObjectEx interface has these methods.

 
IViewObjectEx::GetNaturalExtent

Provides sizing hints from the container for the object to use as the user resizes it.
IViewObjectEx::GetRect

Retrieves a rectangle describing a requested drawing aspect.
IViewObjectEx::GetViewStatus

Retrieves information about the opacity of the object, and what drawing aspects are supported.
IViewObjectEx::QueryHitPoint

Indicates whether a point is within a given aspect of an object.
IViewObjectEx::QueryHitRect

Indicates whether any point in a rectangle is within a given drawing aspect of an object.

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

IViewObject2