BCGSuite for MFC
static void CBCGPButton::EnableWinXPTheme ( BOOL  bEnable = TRUE)
static

Allows to draw button borders using the current Windows theme.

Call this static member function to enable or disable drawing of button borders using the current Windows theme. This will affect all CBCGPButton - derived buttons in your application.

Parameters
bEnableSpecifies whether to enable (TRUE) or disable (FALSE) drawing borders using Windows theme.