CComControl::GetAmbientPalette

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

Syntax

HRESULT GetAmbientPalette( HPALETTE& hPalette );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComControl Overview, CComControl Methods