CComControl::GetAmbientDisplayAsDefault

HRESULT GetAmbientDisplayAsDefault( BOOL& bDisplayAsDefault );

Return Value

One of the standard HRESULT values.

Parameters

bDisplayAsDefault

[out] The property DISPID_AMBIENT_DISPLAYASDEFAULT.

Remarks

Retrieves DISPID_AMBIENT_DISPLAYASDEFAULT, a flag that is TRUE if the container has marked the control in this site to be a default button, and therefore a button control should draw itself with a thicker frame.

CComControl OverviewClass Members

See Also   GetAmbient Property Methods