Change pinned taskbar icon (windows 7)

后端 未结 9 1288
梦谈多话
梦谈多话 2020-11-29 22:45

I wan\'t to customize the icon displayed within the windows 7 taskbar. When my app is running, I can do it by changing main window icon but, when the app is pinned, the exe\

相关标签:
9条回答
  • 2020-11-29 22:58

    If you want to have a shortcut in the taskbar that goes directly to somewhere useful, such as your "My Documents" directory. The easy fix . . .

    Drop a folder into the taskbar ( which creates a shortcut to images ). Navigate to the directory where that shortcut was placed, right click on the shortcut and select "properties" to change the target. Select the "general" tab to change the name of the shortcut. The shortcut was placed here:

    C:\Users[user]\AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar

    You can navigate to this directory and edit the properties of the "images" shortcut.

    0 讨论(0)
  • 2020-11-29 23:05

    I don't know if I'm understanding your problem but..

    If you create an application and put the icon property of the main window, that icon will appear in the taskbar also. But, if you pin-it to the taskbar, that icon dissapear. Am I right? If so, go to the project properties and in the application tab, put the icon that you want for the exe. Now, you will see that icon in the taskbar when pinned.

    I Use the same icon for both things :P

    0 讨论(0)
  • 2020-11-29 23:05

    As far as I can tell, for some reason you can't change the icon for a program that's already pinned to the taskbar. To do it, just unpin the program, locate it in the start menu, right click - properties - change icon. then re-pin it to the taskbar, and it will have the new icon!

    0 讨论(0)
  • 2020-11-29 23:07

    Right click on the pinned icon, in the popup you see the programs title, there right click again and go to properties. There you are able to change the icon by clicking on the button "change icon". For me it needed a reboot to finish the changes.

    0 讨论(0)
  • 2020-11-29 23:10

    Have a look at this blog. He does a series of blog posts about programming the Windows 7 taskbar, so maybe that will point you in the right direction.

    0 讨论(0)
  • 2020-11-29 23:11

    You can do this by using the library called "Windows 7 Bridge" which is based on the "Windows Vista Bridge".

    These are managed wrappers around all the Vista and Windows 7 native functions.

    More info can be found here

    0 讨论(0)
提交回复
热议问题