IAxWinAmbientDispatch::get_DisplayAsDefault

STDMETHOD( get_DisplayAsDefault )( VARIANT_BOOL* pbDisplayAsDefault );

Return Value

A standard HRESULT value.

Parameters

pbDisplayAsDefault

[out] The address of a variable to receive the current value of this property.

Remarks

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

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

IAxWinAmbientDispatch OverviewClass Members