CComCompositeControl::SetBackgroundColorFromAmbient

Call this method to set the background color of the composite control using the container's background color.

HRESULT SetBackgroundColorFromAmbient( );

Return Value

Returns S_OK on success, or an error HRESULT on failure.

Requirements

Header: atlcom.h

See Also

Reference

CComCompositeControl Class

Other Resources

CComCompositeControl Members