Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use this operator to retrieve the device context handle of the CDC object.
operator HDC( ) const;
Return Value
If successful, the handle of the device context object; otherwise, NULL.
Remarks
You can use the handle to call Windows APIs directly.
Requirements
Header: afxwin.h