CDC::GetCurrentPalette
Returns a pointer to the currently selected CPalette object.
CPalette* GetCurrentPalette( ) const;
Pointer to a CPalette object, if successful; otherwise NULL.
This member function may return temporary objects.
Header: afxwin.h