CComControl::GetAmbientDisplayAsDefault

This method 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.

Syntax

HRESULT GetAmbientDisplayAsDefault( BOOL& bDisplayAsDefault );

At a Glance

Header file: Atlctl.h
Platforms:
Versions: 2.0 and later
Complete documentation: Visual C++ documentation

See Also

CComControl Overview, CComControl Methods