Compartir a través de


IViewObjectExImpl Members

IViewObject Methods

Draw

Draws a representation of the control onto a device context.

Freeze

Freezes the drawn representation of a control so it won't change until an Unfreeze. The ATL implementation returns E_NOTIMPL.

GetAdvise

Retrieves an existing advisory sink connection on the control, if there is one.

GetColorSet

Returns the logical palette used by the control for drawing. The ATL implementation returns E_NOTIMPL.

GetExtent

Retrieves the control's display size in HIMETRIC units (0.01 millimeter per unit) from the control class data member CComControlBase::m_sizeExtent.

GetNaturalExtent

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

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.

QueryHitPoint

Checks if the specified point is in the specified rectangle and returns a HITRESULT value in pHitResult.

QueryHitRect

Checks whether the control's display rectangle overlaps any point in the specified location rectangle and returns a HITRESULT value in pHitResult.

SetAdvise

Sets up a connection between the control and an advise sink so the sink can be notified about changes in the control's view.

Unfreeze

Unfreezes the drawn representation of the control. The ATL implementation returns E_NOTIMPL.

See Also

Reference

IViewObjectExImpl Class