IViewObjectExImpl Class

This class implements IUnknown and provides default implementations of the IViewObject, IViewObject2, and IViewObjectEx interfaces.

template<
   class T 
>
class ATL_NO_VTABLE IViewObjectExImpl :
   public IViewObjectEx

Parameters

  • T
    Your class, derived from IViewObjectExImpl.

Remarks

The IViewObject, IViewObject2, and IViewObjectEx interfaces enable a control to display itself directly, and to create and manage an advise sink to notify the container of changes in the control display. The IViewObjectEx interface provides support for extended control features such as flicker-free drawing, non-rectangular and transparent controls, and hit-testing (for example, how close a mouse click must be to be considered on the control). Class IViewObjectExImpl provides a default implementation of these interfaces and implements IUnknown by sending information to the dump device in debug builds.

Requirements

Header: atlctl.h

See Also

Concepts

IViewObjectExImpl Members

CComControl Class

ActiveX Controls Interfaces

ATL Tutorial

Creating an ATL Project

ATL Class Overview