| float CBCGPGlobalUtils::ScaleByDPI | ( | float | val, |
| const CWnd * | pWnd = NULL |
||
| ) |
Returns the value scaled by the DPI (Dots Per Pixel) of the specified window.
| val | The value to be scaled. |
| pWnd | The pointer to the CWnd object. If this parameter is a CWnd::wndTop address, the active (currently drawn) window will be used. |