icons

Eclipse standard warning/error overlay icons

I'm writing an Eclipse plug-in... In my custom label decorator, I want to overlay a warning icon, and I'd like to use the standard one used by eclipse (the little yellow triangle). How can I get an image descriptor of this icon? I tried using workbench.getSharedImages().getImageDescriptor(ISharedImages.IMG_DEC_FIELD_WARNING) since t...

How to set exe icon using AssemblyBuilder?

Given that I am generating an exe application with AssemblyBuilder, how do I set an icon to it? I think I should be using System.Reflection.Emit.AssemblyBuilder.DefineUnmanagedResource Is there an example how to do it? http://msdn.microsoft.com/en-us/library/aa380599(VS.85).aspx ...

Simple file and folder view in C#

Hey there! I have seen an application recently what had two simple controls (a treeView and a detailed ListView) what were used for listing directories and files. I know how to do this, but it had another nice feature other than listing files: it loaded info from the system shell, like icons of folders, file specifications (file types m...

What does this Eclipse icon mean in a Merge Results view?

I just did an svn merge from a branch to a trunk in my Eclipse IDE, and in the Merge Results view, there is this following icon: I am dying to know what it means. I have searched the entire Eclipse documentation and some relevant StackOverflow questions, but couldn't find anything. The CollabNet documentation about Merge Results Vie...

How can I put an image in my form?

Hey guys, I'm having a problem. I want to put an image inside a form in Java and I don't know if I'm using a proper technique (found it somewhere in a web page). private void iconSelect() { String iconString = ""; if (typeCombobox.getSelectedIndex() == 0) { iconString = "LP_"; } else if (typeCombobox.getSelectedInde...

ShGetFileInfo called for directory oddity

Hello, I have a simple file browser and there I display files and folders, obtained by (for directory) SHFILEINFO info = new SHFILEINFO(); SHGetFileInfo(filename, FILE_ATTRIBUTE_DIRECTORY, ref info,Marshal.SizeOf(info), SHGFI_ICON | SHGFI_USEFILEATTRIBUTES | SHGFI_SMALLICON | SHGFI_ADDOVERLAYS); It works 100% fine, but I have noticed...

How to extract the 256x256 icon from an icon and display it in .Net, Winforms, XP

Here's the code that I use to extract the icon size that I want: Dim i As Icon = My.Resources.Spectrum Using i2 As New Icon(i, New Size(256, 256)) Me.PictureBox1.Image = i2.ToBitmap End Using This works from 16x16 up to 128x128 but for 256x256 it extracts the 128x128 icon. I tried 0x0, because I seem to remember th...

Strange iPhone application icon view in the iTunes's Applications section

When I drag 'My iPhone App' application's file into iTunes it has proper view. Rounded corners and transparent background. Then I close iTunes and open it again. Corners are still rounded but... What has happened with the background? http://www.freeimagehosting.net/uploads/15fee337bc.png Icon is a project's resource file named 'iTunes...

Having difficulty add a custom icon to a JFrame

Hi, I have been trying to change the icon in the frame. I have virtually tried everything: The icon is 16x16 which is the right size ....doesn't work I've trying PNG,GIF and JPG formats none of them work. Tried different way of setting the icon....doesn't work. I've tried relative (local paths) e.g. "icon.gif" and absolute paths e.g. "...

Icons in dired in Emacs (on Mac or Linux)

I'd like to have dired show a little icon next to each file, similar to what you'd see in "list" or "details" view on a graphical file browser. Someone posted a similar question but the only answer was for Windows only; I want to be able to do this on Linux or Mac. ...

How to add the UAC shield icon to program that still must target XP?

I have a program that still must target Windows XP (_WIN32_WINNT 0x501), as most of our customers still use XP. However, we have been shipping Vista for a while, and are now pushing Windows 7 upgrades. For the software to work correctly on the newer OSs, there are a couple operations that require UAC elevation. I have the elevation cod...

how to save extracted icon in delphi

hi all I am trying to make icon extractor i am successful in getting icon to image1.picture.icon ,its looking same as orginal file icon, but when i am trying to save (iamge1.picture.icon.savetofile(c:\imahe.ico)) its not saving as it is ,it saving with less colur and looking ugly cany any one please tell me what i am doing wrong ?...

Convert WPF BitmapSource to Icon for window

I have a 16x16 .png file which I have loaded as an ImageSource (BitmapSource) and it is working fine when I use it on an Image in a tabcontrol header. I now want to use that same image in a floating window (inherited from the WPF Window class) when the user drags the document tab. (This is AvalonDock which I have tweaked to allow images...

Swing & Batik: Create an ImageIcon from an SVG file?

Simply put, I'm looking for a way to make an ImageIcon from an SVG file using the batik library. I don't want to have to raster the SVG to disk first, I just want to be able to pull an svg out of the jar file and have it land as a UI element. I feel like this should be reasonably easy, but the batik javadocs aren't telling me what I ne...

.NET: How Do I Create File Icon Overlays

I'm trying to add different icon overlays over the icons of various files (note: not all the files of a certain type, just certain files). If you don't get what I mean, I'm referring to what programs like TortoiseSVN, TortoiseHG, Dropbox, etc. do. Can this be done in .NET? If so, how? I'm hoping there's a library out there for this. I f...

C# WPF XAML Problem with icon in GridViewColumn

I've created a ListView with a GridView component in it. Now trying to fill one of the cells with an icon (PNG) like in the code sample below (save_icon.png): <ListView.View> <GridView> <GridViewColumn Header="Date" Width="Auto" DisplayMemberBinding="{Binding Date}" /> <GridViewColumn Header="Time" Width="Auto" Displ...

Anyone have a database of file extensions & icons to go with the extensions?

Ok, im developing some software which requires file icons to display lists of files on a computer... i don't want to use the system ExtractAssociatedIcon api's i'd rather load the icons for the file extensions out of a database... (as some systems may not have certain files associated etc)... Does anyone have a database of file extensi...

UISegmentedControl with custom prev/next buttons

Hey, I am trying to reach the following result here I know how to configure the segmented control but I was wondering how to get the same icons ... I tried to do it with photoshop but I just can't manage to achieve the same quality ! I heard there is a possibility to use the "Apple symbols font" available on Mac (which contains thes...

Windows 7 Jump List Displays No Icons

The application I'm working on has a set of file types associated with it. Everyone is familiar with Windows 7's new Jump List and its features. If I open a file (double clicking on it or from within my application), my list of 'Recent Documents' in the jump list is populated correctly, but the default 'no icon' is displayed instead of t...

Adobe AIR 512x512 Icons?

correct me if i'm wrong, but Adobe AIR currently only allows applications to have maximum size icon of 256x256. is there a way to supply an application with a 512x512 icon? will 512x512 icons be supported in the new upcoming Adobe AIR 2? update: AIR 2 still doesn't support importing 512x512 sized icons. ...