Share via


IAxWinAmbientDispatch::get_DisplayAsDefault

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

STDMETHOD( get_DisplayAsDefault )( 
   VARIANT_BOOL* pbDisplayAsDefault  
);

Parameters

  • pbDisplayAsDefault
    [out] The address of a variable to receive the current 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