CGdiObject::GetSafeHandle

Use this member function to retrieve the m_hObject data member. If this is NULL, NULL is returned. This is part of the general handle interface paradigm and is useful when NULL is a valid or special value for a handle.

Syntax

HGDIOBJ GetSafeHandle( ) const;

At a Glance

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

See Also

CGdiObject Overview, CGdiObject Member Functions, Graphical Drawing Object Classes, CGdiObject ::m_hObject