CComControl

The CComControl class is a set of useful control helper functions and essential data members for ATL controls. When you create a full control or an Internet Explorer control using the ATL Object Wizard, the wizard will automatically derive your class from CComControl.

Syntax

template < class T >

class CComControl : public CComControlBase, public CWindowImpl< T >

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

Remarks

Windows CE 2.0 doesn't support metafiles, so the current version of ATL for Windows CE doesn't support the CComControlBase::IDataObject_GetData method or the CComControlBase::m_bDrawGetDataInHimetric data member.

In Windows CE, you cannot use the CComControlBase::IOleInPlaceObject_SetObjectRects method for clipping. Set the prcClip parameter to the same LPCRECT you pass in the prcPos parameter.

The CComControlBase class also doesn't support the DoVerbProperties method.

See Also

CComControl Methods, CComControl Data Members, CWindowImpl