CGdiObject::GetSafeHandle

This method retrieves 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.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

HGDIOBJ GetSafeHandle( ) const;

See Also

CGdiObject ::m_hObject