icons

How to always show program tray icons in Windows by *default*?

元气小坏坏 提交于 2019-12-30 04:21:21
问题 If a program is executed for the first time in Windows 7, it automatically hides the icon. Is there any manifest setting or option to force Windows 7 to always show the icon by default? 回答1: In .NET Rocks podcast, not long time ago, Kate Gregory from Microsoft was saying that it is impossible. She said something like: "If user wants it (tray icon) he/she will put it there". Reason for this is to prevent mess in the tray area. 回答2: If you really want to show your tray-icon, you can popup a

How to use default iOS images?

放肆的年华 提交于 2019-12-30 03:50:51
问题 I know how to use images in iOS application. But I don't know how to use default images like share or bookmark icons which are mention in developer site. I want to use them. Do I need to download those set of images or those are available in Xcode? If we have to download them, where I can get those icons? 回答1: Developers haven't direct access to these images. I mean that you can't initialise image object like this: UIImage *image = [UIImage imageNamed:@"name_of_system_image"]; But you can

How can I configure my iPhone project to use a seperate application icon for beta releases

橙三吉。 提交于 2019-12-30 02:27:09
问题 What I am trying to achieve is for the application icon to be different in builds that I send out to my beta testers, to that of the application that will be submitted for approval. This will allow me and my beta testers to easily identify the app is a beta version. I was not sure if I should be adding a build script to modify the info.plist and change the application icon specified there. For this I guess I would have to conditional check the build type (DEBUG/RELEASE/DISTRIBUTION etc) and

How to make a tutorial for my android application?

我与影子孤独终老i 提交于 2019-12-30 00:55:10
问题 I want to make a tutorial(user guide) for my Android application that informs users how to use the application. I saw many applications that use animations to direct users how to learn to use the application step by step. I searched but I couldn't find how to do that. Do you have any tutorial that helps me or which keywords I should search with? I want to make a guide positioning to the icon or button; first to do it and informs what is it for. 回答1: Take a look at this library: https://github

How to load a Windows icon using a pixel buffer?

倾然丶 夕夏残阳落幕 提交于 2019-12-29 08:15:29
问题 I'm trying to create a Windows-compatible icon using a pixel buffer. The Surface class loads an image and saves it as an unsigned int array internally (0xRRGGBB). I'm trying to create an icon like so: Surface m_Test("Data/Interface/CursorTest.png"); HICON result = CreateIconFromResourceEx( (PBYTE)m_Test.GetBuffer(), m_Test.GetWidth() * m_Test.GetHeight(), FALSE, 0, 24, 24, LR_DEFAULTCOLOR ); However, result is always NULL . I can't find anywhere what data format CreateIconFromResourceEx

How to add icons to items in a navigation drawer

微笑、不失礼 提交于 2019-12-29 08:02:16
问题 I would like to have icons next to my items in my navigation drawer that I have set up like this: Titles = getResources().getStringArray(R.array.array1); Icons = getResources().getIntArray(R.array.icons); mDrawerLayout = (DrawerLayout)findViewById(R.id.Welcome); mDrawerList = (ListView) findViewById(R.id.left_drawer); mDrawerLayout.setDrawerShadow(R.drawable.drawer_shadow, GravityCompat.START); mDrawerList.setAdapter( new ArrayAdapter<String>(this, R.layout.drawer_list_item, Titles)); I know

Change icon of running firefox profile

时间秒杀一切 提交于 2019-12-29 07:47:10
问题 I'm using Win7 but looking for a cross os solution, but this isnt even working in my Win7. I'm trying to change the icon of just the current profile. So what i did was: I created shortcut of firefox.exe and moved it to my documents right click on this shortcut and then changed icon but in firefox the taskbar shows normal firefox icon and so does the top left icon (see attached image plz) How can I change this icon? Thanks Here's another topic i made on ask.m.o trying to ask the same thing:

Search result icons in Xcode?

浪尽此生 提交于 2019-12-29 05:34:58
问题 I'm looking for info on the icons displayed in search results in Xcode. The meaning of some icons is obvious, I think. M = Method, C = Class, S = Struct, Pr = Protocol, etc. But others are not so obvious. What do you call these icons in the Xcode help listing ? Is there a "legend" that describes these icons ? I've tried searching but I'm at a loss what to call these icons. I can provide a pic if necessary, but can't post one. possum 回答1: Can't find any help about them either but with find-fu

Using Cocoa to create an icon for a folder

时光怂恿深爱的人放手 提交于 2019-12-29 04:56:30
问题 In my Mac OS application, I'm prompting a user to create a new folder. I would like to apply an icon to this folder using Cocoa when it is created. Currently, to create the folder, I'm using the following code: - (IBAction)browseFiles:(id)sender { NSOpenPanel *oPanel = [[NSOpenPanel openPanel] retain]; [oPanel setCanChooseDirectories:YES]; [oPanel setCanChooseFiles:NO]; [oPanel setDelegate:self]; [oPanel setCanCreateDirectories:YES]; [oPanel beginSheetForDirectory:NSHomeDirectory() file:nil

How do I display a Windows file icon in WPF?

允我心安 提交于 2019-12-29 03:35:49
问题 Currently I'm getting a native icon by calling SHGetFileInfo. Then, I'm converting it to a bitmap using the following code. The Bitmap eventually gets displayed in the WPF form. Is there a faster way to do the same thing? try { using (Icon i = Icon.FromHandle(shinfo.hIcon)) { Bitmap bmp = i.ToBitmap(); MemoryStream strm = new MemoryStream(); bmp.Save(strm, System.Drawing.Imaging.ImageFormat.Png); BitmapImage bmpImage = new BitmapImage(); bmpImage.BeginInit(); strm.Seek(0, SeekOrigin.Begin);