How can i assign the system extension type to a new item with that extension on a listview?
And by the way the same thing for icon's
Thkx
Printable View
How can i assign the system extension type to a new item with that extension on a listview?
And by the way the same thing for icon's
Thkx
idunu :rolleyes:
You mean, like, add an item ".ext" to the listview, with the same icon that ".ext" files have in the file explorer? :confused:
In that case you can send some messages, like LVM_INSERTITEM, and set the iImage member of LV_ITEM to the index of the icon which you can add to the ImageList...
:cool:
Thnkx any way,but i've already found what i wanted.
That was the API SHGetFileInfo. It contains the String for a file's extension(*.ext).
Example -> For *.EXE the String in English is Application, in Portuguese is Aplicação.:D
I get the system string for that Extension.
Now I'm trying to get system icon for file's extension or Directory.:p
Do you now how? :confused: