IViewObjectExImpl Methods

IViewObject Methods

Method Description
Draw Draws a representation of the control onto a device context.
Freeze Freezes the drawn representation of a control so that it won’t change until an UnFreeze method is called. The ATL implementation returns E_NOTIMPL.
GetAdvise Returns information on the most recent SetAdvise.
GetColorset Returns the logical palette used by the control for drawing. The ATL implementation returns E_NOTIMPL.
SetAdvise Sets up an advise sink to receive notifications of changes in the view of the control.
UnFreeze Unfreezes the drawn representation of the control. The ATL implementation returns E_NOTIMPL.

IViewObject2 Methods

Method Description
GetExtent Retrieves the size of the control from the cache.

IViewObjectEx Methods

Method Description
GetNaturalExtent Provides sizing hints from the container for the object to use as the user resizes it. The ATL implementation returns E_NOTIMPL.
GetRect Returns a rectangle describing a requested drawing aspect. The ATL implementation returns E_NOTIMPL.
GetViewStatus Returns information about the opacity of the object, and what drawing aspects are supported.
QueryHitPoints Indicates whether a point is within a given drawing aspect of an object.
QueryHitRect Indicates whether any point in a rectangle is within a given drawing aspect of an object.

See Also

CComControl