BCGControlBar Pro for MFC
virtual void CBCGPBaseRibbonElement::OnDPIChanged ( UINT  nDPIOld,
UINT  nDPINew 
)
virtual

Called by the framework when the Ribbon DPI is changed

Parameters
nDPIOldA previous (old) DPI value.
nDPINewA current (new) DPI value.

Override this method if you need to recalculate your custom dimensions or reload DPI-specific resources.