Поделиться через


CComControlBase::GetAmbientPalette

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

HRESULT GetAmbientPalette( 
   HPALETTE& hPalette 
);

Parameters

  • hPalette
    The property DISPID_AMBIENT_PALETTE.

Return Value

One of the standard HRESULT values.

Requirements

Header: atlctl.h

See Also

Reference

CComControlBase Class