BCGControlBar Pro for MFC
void CBCGPRibbonPanel::SetPreserveElementOrder ( BOOL  bSet = TRUE)
inline

Tells the Ribbon panel whether to preserve the element order, or not.

Use this method to set the internal flag, which tells the Ribbon panel whether to preserves the element order, or not.

When the size of panel is changed, it tries to arrange the elements in the way they take as less space as possible. This algorithm may change positions of elements. If the internal flag m_bPreserveElementOrder is set to TRUE this algorithm does not change positions of elements.

Parameters
bSetSpecifies the new flag value.