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.
HGDIOBJ GetSafeHandle( ) const;
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CGdiObject Overview, CGdiObject Member Functions, Graphical Drawing Object Classes, CGdiObject ::m_hObject