BCGControlBar Pro for MFC
int CBCGPMessageBox::m_nLimitCaptionWidth
static

This global flag allows you to limit the dialog width in the case of very long caption text. E.g., if you set this variable to 70, the caption width will be limited by 70 percent of the screen width. If this flag is 0 (the default value), the whole caption text is displayed.