My CMDIFrameWndEx derived main frame window uses a CMFCRibbonStatusBar to which I add a CMFCRibbonLabel. I'd like to change the text of this label at runtime:
m_pLabel->SetText(description);
m_pLabel->Redraw();
It only updates the text but not the rectangle in which to draw it. So if the original text was too short, the new string won't be visible completely.
How do I get it to resize correctly?