Home > Net >  Is there any way to use the ICONS in the DLL in the project
Is there any way to use the ICONS in the DLL in the project

Time:09-23

Is like that, because I do program toolbar ICONS too ugly, have no this aspect of resources, online found a circle of thought style and the software does not build,
And thought for half a day on how to improve the interface beautification I still have no idea,
Want from icon to modify first, then think of using Windows icon, and then found the Windows icon library shell32. DLL
But don't know how to use it, put him in vs checked the inside can see the inside of the icon

Is there a way to call
?
In fact the main is want to seek a target code, a little want to before the win2000, xp style of the old one toolbar icon
Such as the others do


And then give you see I do

Behind the three ICONS I add style is very ugly don't go
Feel this software seems to take some traditional office style icon is more appropriate, since the ask you
Best wishes to everyone too

CodePudding user response:

Search visual studio icon library, free downloadable,
If you want to use directly shell32. The icon in the DLL, need pinvoke, presumably

HINSTANCE hDllInst=LoadLibrary (" shell32. DLL ");
HICON HICON=LoadIcon (hDllInst,...

CodePudding user response:

The ICONS in the simple point, the shell32. DLL export, and then use in your code, than use code from shell32. DLL directly to get better

CodePudding user response:

IcoFX can be exported from the DLL or exe ICO
  •  Tags:  
  • C#
  • Related