CDC::GetSafeHdc 

HDCGetSafeHdc()const;

Return Value

A device context handle.

Remarks

Call this member function to get m_hDC, the output device context. This member function also works with null pointers.

CDC OverviewClass MembersHierarchy Chart