BCGSuite for MFC
void CBCGPDialog::EnableVisualManagerStyle ( BOOL  bEnable = TRUE,
BOOL  bNCArea = FALSE,
const CList< UINT, UINT > *  plstNonSubclassedItems = NULL 
)

Adds visual theme support to the dialog

Automatically subclasses all hosted controls in order to take advantage of Visual Manager themes and the DWM ("Glass") technology.

Call this function with bEnable TRUE to automatically subclass all hosted controls in order to take advantage of Visual Manager themes and the DWM ("Glass") technology.

Parameters
bEnableTRUE - enables Visual Manager theme support for hosted controls. FALSE - disables Visual Manager theme support for hosted controls.
bNCAreaIf TRUE, the non-client area of dialog will be displayed using the current Visual Style.
plstNonSubclassedItemsList of control IDs that shoudn't be subclassed.