BCGControlBar Pro for MFC
BOOL CBCGPAppOptions::m_bRibbonMinimizeButtonAutoLocation

Specifies whether location of the application Ribbon bar minimize button should be specified by visual theme.

If this member is TRUE, the minimize button will automatically appear on the bottom-right side of the category area if Office 2013-2019 visual theme is activated. In other visual themes, the button will be placed on the right side of the tabs row.