![]() If I include that, the Taskbar icon looks great but the Volume Mixer isn't scaled and looks terrible. The culprit is the "hi-res if available" part. HICON hIcon = (HICON)::LoadImage( theApp.m_hInstance, MAKEINTRESOURCE( res_id ), IMAGE_ICON, 256, 256, LR_SHARED ) ![]() ![]() if we're Vista or more recent, use hi-def icons Specifically, the following code is what I use to set the application's icon: // set icons the normal wayĬWnd.SetIcon( theApp.LoadIcon( res_id ), FALSE ) ĬWnd.SetIcon( theApp.LoadIcon( res_id ), TRUE ) nice! However, when you use a large-sized icon for your application (especially important in high-DPI when Windows scales your icons for the Taskbar, etc.), the icon in the Volume Mixer doesn't scale correctly. ![]() In the Windows Volume Mixer, when your application plays sounds, it adds your application's icon and a custom volume slider to adjust volume specific to that application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |