BCGControlBar Pro for MFC
void CBCGPMDIFrameWnd::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.