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...
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
...
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...
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...
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...
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...
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...
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...
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. "...
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.
...
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...
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 ?...
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...
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...
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...
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...
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...
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...
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...
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.
...