BCGSuite for MFC
void CBCGPPropertyPage::AutoResizeControls ( const CList< UINT, UINT > *  plstNonAutoResizedItems = NULL)
inline

Enable auto-resizing check boxes, radio buttons and static labels.

Parameters
plstNonAutoResizedItemsThe list of control IDs that shouldn't be resized.

Call this method to enable auto-resizing of check boxes, radio buttons and static labels. Sometimes (especially in high DPI modes), the text label is truncated and developer have to add some extra space to control.