On Mon, 9 Jan 2012, Krzysztof wrote:
Hi, I need to load icon associated by file extension. On windows I done this by WinAPI function ExtractAssociatedIcon(). On linux is not so easy, because we have GNOME, KDE, XFCE, LXDE etc, but I noticed that icons are stored in this same place (like /home/[account]/.icons/ or /usr/share/icons), so there is a chance to locate it, but how can I get path to icons which user using currently? Exists any GetEnvironmentVariable or something like this?
Not to my knowledge. You'll have to look in the settings files/directories of the GUI (GNOME/KDE/XFCE)
Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal