BCGControlBar Pro for MFC
virtual BOOL CBCGPToolbarButton::OnDPIChanged ( UINT  nDPIOld,
UINT  nDPINew 
)
inlinevirtual

Called by the framework when the parent toolbar 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.