CGdiObject::GetObjectType

Use this member function to retrieve the type of the specified object.

Syntax

UINT GetObjectType ( ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

Windows CE 1.0 doesn't support the following return values.

OBJ_ENHMETADC

OBJ_ENHMETAFILE

OBJ_EXTPEN

OBJ_METADC

OBJ_METAFILE

OBJ_PAL

See Also

CGdiObject Overview, CGdiObject Member Functions, Graphical Drawing Object Classes, CDC::SelectObject