Where does Outlook load its e-mail icons from? - outlook

Where does Outlook 2010 load these e-mail icons from?
I found a lot of icons in outlook.exe and outllibr.dll, but some are not among them.

I used the following workaround to extract the icons:
Activate the Windows Classic theme
Make a screenshot containing the desired icons
Set the window background color to black
Make another screenshot
Use this python script to reconstruct the alpha channel

Related

Why do standard applications show slightliy different colors

I uploaded a simple png file with a overall fill color here: https://ufile.io/kx1mopq2
If i view this file in the windows explorer or in firefox the color displayed is slightly different than the color shown in Windows Paint, Paint 3d or several other applications i tested - including WinApi and Qt applications i developed myself.
In the screenshot below on the left you see firefox and windows explorer preview - we think that this display color is the correct one. On the right you see Pant and paint 3d. I modified the file in paint as i moved a strip from the left views into the right views in order to make the difference visible.
My question is: Where do these differences have their origin? I want my applications to show the same color as FireFox or Windows Explorer. It seems that there is a application setting or the like that influences that?
Any suggestion welcome.

In Visual Studio, how to solve Button image Quality?

I am using Visual Studio 2019 to build an Excel Addin with a Custom Task Pane.
In the User Control used as Custom Task Pane, i added imlNavigation(ImageList)
I tried to generate transparent Images PNG with size [512,512] and attached it with the Buttons, but the Quality is very poor
I tried to generate transparent Images PNG [16,16] but no changes.
Below is the screenshot. And even the transparency is not good. We still see those white colors around the pictures:
Can anyone please suggest me what exactly I shall do as I am still new in Visual Studio?
Where could I get transparent Icons/Images to use for my Buttons?
What Extension shall I use if necessary to get them easily attached with my Buttons?
Where do I fail and I should still learn regarding the buttons?
I am willing to learn and to follow you instructions and suggestions. Thank you in advance!
May be instead of using image list you can use Image Resources?
Click on the Button
On your property click on the assist button of image
From the Select Resource Dialog box, click on Project Resource File
Import you pictures (Png transparent) better 25-25px or 20-20px based on the size of your button. It accepts transparent images as well
This should improve the quality of your button images.
enter image description here

Can't seem to get unplated in UWP

Update: 20 May - Just want to make it clear what I'm looking for, this photo shows what I mean when I mention the "AppList" https://www.flickr.com/photos/143242909#N03/27002577792/in/dateposted-public/
I still can't figure it out.
I've been messing around with the UWP in Visual Studio 15 with Windows 10 and trying to learn how to get the package manifest to display the best possible logos and icons for an application.
But I've hit a snag.
I want to use unplated icons for the taskbar and start menu. I created icons at every unplated size available, and the designer keeps placing one in the 44x44 slot. I've tried using it, renaming it, editing the package manifest in notepad...
The taskbar icon comes out fine and unplated... the one in the Apps List (Start Menu) insists on being plated.
When I try editing in notepad and renaming the 44 to:
Assets\Square44x44Logo.targetsize-44_altform-unplated.png
I get this error:
Image path contains one or more MRT qualifiers, which is not supported. Remove the 'AlternateForm' qualifier with value unplated and retry the operation.
Has anyone succeeded in getting an unplated icon to show up in the Applications List?
Please read Guidelines for tile and icon assets
Target-size list assets without plate
These are assets that don't get plated or scaled by the system.
File name format: AppList.targetsize-_altform-unplated.PNG
Impacted apps: Every UWP app
Uses:
Taskbar and taskbar thumbnail (desktop) Taskbar
jumplist Task view ALT+TAB

Adding custom Button to AppBarButton in Windows Phone 8.1

Just getting into Windows Phone 8.1 development.
I quite like it but I am struggling getting accurate development info.
I am working with the Page.BottomAppBar.
I want to use an png image I have created as one of the buttons.
Does this image I created have to be:
A certain size
A certain format
A certain choice of colors i.e. i can use multiple colors and not just black and white
I am looking to create a 'Login' button you see.
thanks
Please, check the official Microsoft guidelines for app bars for Windows store and guidelines for windows phone. Guidelines cover icons, sizes and formats. It's better to follow them in designing visual style of your app.

Get Icon info from the executable file?

I'm trying to get the icon from the .exe file using the following APIs:
SHGetFileInfoW() SHGetImageList() and from the ImageList thus obtained I read the icon by calling GetIcon().
When the color depth of the machine is set to 32bit I get the 32bit color icon. The issue is when I change the machine's color depth to 24 or 16 bit then I get a 16bit color icon and this image seems to be corrupted.
I also checked for the list of available icons in some of the common windows applications (notepad, paint etc) and some of the office applications, none of had 16bit or 24 bit color icons.
What would be the best way to get the proper icons from the executable file ?
Thanks !
You can load exe's using LoadLibraryEx, and then extract the icons using LoadImage - or - if you want direct access to the icons data: FindResource, LoadResource, LockResource will give you a pointer to the icon's resources bits.

Resources