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.

At a Glance

Header file: Atlctl.h
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

HRESULT GetAmbientDisplayAsDefault( BOOL& bDisplayAsDefault );