CComControl::GetAmbientPalette

HRESULT GetAmbientPalette( HPALETTE& hPalette );

Return Value

One of the standard HRESULT values.

Parameters

hPalette

[out] The property DISPID_AMBIENT_PALETTE.

Remarks

Retrieves DISPID_AMBIENT_PALETTE, used to access the container's HPALETTE.

CComControl OverviewClass Members

See Also   GetAmbient Property Methods