BCGSuite for MFC
BOOL CBCGPDialog::HasAeroMargins ( ) const
inline

Tells whether a window has "aero" (glass) margins.

Returns
TRUE if aero margins are specified, FALSE if not.

You've to call EnableAero() method to enable or disable the aero margins.