BCGControlBar Pro for MFC
virtual void CBCGPBaseVisualCtrl::OnDPIChanged ( UINT  nDPINew)
inlinevirtual

Called by the framework when the control DPI is changed

Parameters
nDPINewA current (new) DPI value.

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