BCGSuite for MFC
void CBCGPEditCtrl::SetDPIAware ( BOOL  bSet = TRUE,
int  nDefaultFontSize = 10 
)

Specifies whether the edit control is DPI aware.

Parameters
bSetTrue to set DPI-awareness.
nDefaultFontSizeIf this parameter is not 0, "Courier New" will be created as control's font with the given size (10 by default).