I'm probably not clear on how this is supposed to work. Dragging a desktop icon across the icon for the editor on the desktop opens "XPM icons" to the /.dfmdesk directory, not the app's icon. Clicking on it directly open it to the dfm icon directory. Regarding the program icon, I get an error if I try to load it into the editor, and it can't be used as a dfm icon.It only works for directories or xpm's so far.
Note: the suggested xpm icon shows a corrupted image in the viewer for me?If you mean a typical desktop icon that represents an application, no it won't work. It's meant to open *.xpm files only. For example if you drag a directory containing xpm files onto it, it will display the icons in that directory. If you drag an xpm file it will display the icons in the same directory as that xpm, with the dragged xpm being shown in the main window.
You bring an interesting point to light, though. I suppose it could be possible to determine the image associated with a dragged application icon, but to be honest I have a feeling that would be a very complicated task, and I don't plan to look into it.
Quote
the suggested xpm icon shows a corrupted image in the viewer for me
It must have something to do with the way it was saved. I had no trouble with the original file in DSL4. Maybe you have a blank line in there somewhere?
Quote (mikshaw @ Nov. 03 2007,23:12)
Quote
the suggested xpm icon shows a corrupted image in the viewer for me
It must have something to do with the way it was saved. I had no trouble with the original file in DSL4. Maybe you have a blank line in there somewhere?
No, there's a problem with it (formating issue for dfm and xpaint editor). I got this to work: (icon.xpm)
http://www.jpeters.net/apps/That icon you linked is seriously messed up. I suppose you tried to modify it in a binary editor even though the copy/paste messed it up to begin with.
The problem is the lines were somehow broken in my post. Several of the ampersands were converted to "&" and line breaks were inserted. I replaced the ampersands with another character and reposted but it's still screwy. It looks like some of the whitespace was truncated.
I really hate the way most message boards can't properly do code tags =opNext Page...
original here.