I’m doing an app for windows written in C#.
I want the app to change the icon of the trash icon / recycle bin.
How can I accomplish this?
I’m doing an app for windows written in C# . I want the app
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The location of the recycle bin icon is defined in the registry of Windows.
This page show exactly where: http://www.winxptutor.com/rbicon.htm
I’ll copy it here as mirror just in case:
By default, the values point to system DLL with the default icon. (Different in each Windows version)
So all you need is overwriting the registery values for the names
(Default),emptyandfullin the above two locations to your own DLL with your own icon and the icon should change.Writing to regisry with
C#should be simple, if you need further help let us know.