CComControl::GetAmbientPalette

This method retrieves DISPID_AMBIENT_PALETTE, used to access the container’s HPALETTE.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetAmbientPalette( HPALETTE& hPalette );