BCGControlBar Pro for MFC
void CBCGPDialog::EnableCustomCaptionButton ( UINT  nCmdID,
BOOL  bEnable = TRUE 
)
inline

Enables or disables a custom caption button.

Parameters
nCmdIDCustom button command ID.
bEnableTRUE to enable, FALSE to disable.