icons

How does the Windows Shell resize icon overlays?

◇◆丶佛笑我妖孽 提交于 2019-12-24 07:36:14
问题 I've written a Shell Icon Overlay handler that contains a multi-image icon with 256, 48, 32 and 16 bit icons. The overlay bits are in the lower left corner, and respectively are 32, 15, 10 and 6 bits. In Windows Explorer, with the View set to Small, the icons are 16 bits and the overlay selected consumes 6 bits. Medium icons: 48 bits overlaid with 10. All as I expected. When the View is set to Large, a 96 bit icon is used, which is overlaid with 15 bits. Whether this is the 15 bits from the

How would I go about changing the hover text over icon in doc? (Java)

萝らか妹 提交于 2019-12-24 07:23:56
问题 Okay. I have a gui with a title called "My Java Application". When I minimize it to my doc and hover over the icon, it just says "java", not "My Java Application". How would I fix that? P.S. I am using a Macintosh computer. 回答1: There's apparently a command line option for this on the Mac: -Xdock:name="YourNameHere" There's also some more information here: Programatically setting the dock:name Java Mac OS X JVM property Native Swing Menu Bar Support For MacOS X In Java 回答2: Close the app if

Method to implement Windows Explorer icon overlays with Java

允我心安 提交于 2019-12-24 07:13:53
问题 I am writing a cloud-sync application in Java with .jni integration to virtualize a cloud file-system in windows explorer. Now i want to implement icon overlays like owncloud to see the state of a node like this: I found some solutions for C#. Is this also possible with Java if using a jni interface to get access to the Icon Handlers. Anyone knows a existing solution? P.S. Tha last question for this is 4 years old so there is eventually a new solution for modern systems with java8 in

Flex: Modify an embedded icon and use it in a button?

半城伤御伤魂 提交于 2019-12-24 07:07:09
问题 Just that, if you embed an icon: [Embed(source='icons/checkmark.png')] private static var CheckMark:Class; You end up with a dynamic class. You can pretty easily assign the icon to a button at runtime by calling the setStyle method: var btn:Button = new Button(); btn.setStyle("icon", CheckMark); But what if you wanted to alter the icon at runtime, like changing it's alpha value or even redrawing pixels, before assigning it to the button? So far I can't find a satisfactory answer... 回答1: This

desktop shortcut icon not showing in web setup project

最后都变了- 提交于 2019-12-24 06:04:11
问题 i've created a web setup project and i wanted it to create a desktop shortcut to the web application (ex: http://localhost/xx/yy.aspx). up to this point it was pretty easy: i created a shortcut (doesnt matter where), gave it the url i wanted, added this to the User's Desktop special folder of my web setup project, and it was placed on the desktop after the installation. but then i wanted to display my custom shortcut icon. i set the icon of the shortcut i've created on my file system. then i

Creating an HICON from a byte array in C++?

落爺英雄遲暮 提交于 2019-12-24 05:34:10
问题 I have a PNG-encoded icon as a byte array in memory. What is the recommended way of creating an HICON object from this byte array? Imaginary bonus points if you know a solution without ATL or GDI+... :) 回答1: HGLOBAL hMem = GlobalAlloc(GMEM_MOVEABLE, dataSize); LPVOID pImage = GlobalLock(hMem); memcpy(pImage, pngData, dataSize); GlobalUnlock(hMem); ATL::CComPtr<IStream> pStream; CreateStreamOnHGlobal(hMem, TRUE, &pStream); Gdiplus::Bitmap *pBitmap = new Gdiplus::Bitmap(pStream); HICON YOUR

Is there a way to change the default eclipse toolbar icons built into eclipse?

£可爱£侵袭症+ 提交于 2019-12-24 05:21:53
问题 I am talking about the tiny icons on the toolbar. There doesn't seem to be any questions like this on the web, they all refer to android or a custom application as opposed to the icons bundled with eclipse. I want to know if anyone has tried this or can tell me that its not worth my time because it is a lot of work. Cheers. 回答1: I don't think this is possible. The standard icons are declared using the org.eclipse.ui.commandImages extension point in the org.eclipse.ui plugin and reference

Is there a way to change the default eclipse toolbar icons built into eclipse?

[亡魂溺海] 提交于 2019-12-24 05:21:07
问题 I am talking about the tiny icons on the toolbar. There doesn't seem to be any questions like this on the web, they all refer to android or a custom application as opposed to the icons bundled with eclipse. I want to know if anyone has tried this or can tell me that its not worth my time because it is a lot of work. Cheers. 回答1: I don't think this is possible. The standard icons are declared using the org.eclipse.ui.commandImages extension point in the org.eclipse.ui plugin and reference

Bookmark Icon for a website

倖福魔咒の 提交于 2019-12-24 04:59:30
问题 I do have a Favicon on my website, and it shows up on the address bar. But I was curious how to get these big icons when you bookmark a page. Is a different thing or did I do the favicon wrong? As you can see, Behance, LinkedIn, and others have a big icon when bookmarked and my website on the left has none. <link rel="icon" href="icons/favicon.ico"> 回答1: You need different icons: Safari on Mac OS Yosemite (apparently, what you are using): it takes the Apple Touch icon. At least, make sure to

Load unistall icon from exe file in the inno setup

两盒软妹~` 提交于 2019-12-24 04:43:09
问题 I have all of my icons in my executable file. If I want to change the uninstall icon of my program which is shown in Start Menu, I can easily do that by: [Files] Source: "icons\uninstall.ico"; DestDir: "{app}\Icons" [Icons] Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"; IconFilename: "{app}\Icons\Uninstall.ico" Since I have Unistall.ico in my exe file, I want load the icon from it, but the below line doesn't do that and causes no icon is displayed in the Start