Share via


IAxWinAmbientDispatch::put_DisplayAsDefault

DisplayAsDefault is an ambient property that allows a control to find out if it is the default control.

STDMETHOD( put_DisplayAsDefault )( 
   VARIANT_BOOL bDisplayAsDefault  
);

Parameters

  • bDisplayAsDefault
    [in] The new value of this property.

Return Value

A standard HRESULT value.

Remarks

The ATL host object implementation uses VARIANT_FALSE as the default value of this property.

Requirements

Header: atliface.h

See Also

Reference

IAxWinAmbientDispatch Interface