BCGSuite for MFC
BOOL CBCGPDialog::EnableAero ( BCGPMARGINS &  margins)

Adds DWM ("Glass") support either to whole dialog, or to some of its margins.

This method has effect only under Windows Vista or later with the DWM theme enabled.

Call EnableAero to display DWM ("Glass") support either on the whole dialog, or on some edges.

To enable glass for the whole dialog, just set _BCGPMARGINS::cyTopHeight to the height of the client area. See the SkinnedDialog sample for more info.

Parameters
marginsSpecifies the margins for the "glass" areas.