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.
operator HPALETTE( ) const;
Return Value
If successful, a handle to the Windows GDI object represented by the CPalette object; otherwise NULL.
Remarks
Use this operator to get the attached Windows GDI handle of the CPalette object. This operator is a casting operator, which supports direct use of an HPALETTE object.
For more information about using graphic objects, see the article in the Win32 SDK Programmer’s Reference.