| HICON CBCGPGlobalUtils::ScaleByDPI | ( | HICON | hIcon, |
| BOOL | bDestroySourceIcon = TRUE, |
||
| BOOL | bAlphaBlend = TRUE, |
||
| const CWnd * | pWnd = NULL |
||
| ) |
Returns the icon scaled by the DPI (Dots Per Pixel) of the specified window.
| hIcon | The icon to be scaled. |
| bDestroySourceIcon | Specifies whether the icon source icon should be destroyed. |
| bAlphaBlend | Specifies whether the icon has alpha channel. |
| pWnd | The pointer to the CWnd object. If this parameter is a CWnd::wndTop address, the active (currently drawn) window will be used. |