Custom Folder Icon

Status
Not open for further replies.
T

Tobias Böhm

Hello,

from

http://groups.google.de/group/micro...q=outlook+folder+icon+change#dfd4c56c228bd34f

I learned it's not easy to change the icon of a folder.

My client however really would like that feature in the add-in.

Scott thinks that it's possible by either one of the following ways:

"- You could traverse the window list to the tree control then attempt

to

swap in your own icon for the folder in question but this is

technically a

little tricky and you'd be lucky if it worked without side effects.

or

- Or you could use a system hook on the tree control to either paint

over

the icon in the color you want or to intercept the control's paint

calls and

tweak them to suit. "

Can anyone point me to a ressource where I can find out how to do

this?

Thanks heaps,

Tobias
 
K

Ken Slovak - [MVP - Outlook]

I've never seen any public information on doing that anywhere.

The window for the Navigation Pane is the class with the name "WUNDERBAR".

Under that in Spy++ are 2 window classes, neither of which is a treeview

control.

There is no exposure to any control like that or any means I can see to find

where a specific folder is being displayed in the Navigation Pane.

If this could be done it could only be done at all using Win32 API calls and

Windows message hooks and callbacks, such as intercepting any WM_PAINT

messages directed to the correct window.

Not something I'd want to try and I do tons of Win32 API stuff in my code.

Doing it wrong could crash not only Outlook but Windows.

"Tobias Böhm" <boehm.tobi@googlemail.com> wrote in message

news:87f166a4-ee69-4184-98ad-373f7a83709f@t13g2000yqt.googlegroups.com...
> Hello,

> from
> http://groups.google.de/group/micro...q=outlook+folder+icon+change#dfd4c56c228bd34f
> I learned it's not easy to change the icon of a folder.

> My client however really would like that feature in the add-in.
> Scott thinks that it's possible by either one of the following ways:

> "- You could traverse the window list to the tree control then attempt
> to
> swap in your own icon for the folder in question but this is
> technically a
> little tricky and you'd be lucky if it worked without side effects.

> or

> - Or you could use a system hook on the tree control to either paint
> over
> the icon in the color you want or to intercept the control's paint
> calls and
> tweak them to suit. "

> Can anyone point me to a ressource where I can find out how to do
> this?

> Thanks heaps,
> Tobias
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
T Add 'Move to folder' icon to custom form Using Outlook 1
F copy data in Custom Field to other folder Outlook VBA and Custom Forms 2
R VB Referring to a custom contacts folder Exchange Server Administration 4
J Custom Forms Don't Always Auto-Forward From Public Folder Using Outlook 0
S Custom property/functionality not stored when I publish to a Public Folder Using Outlook 7
R How To Refer To Custom Folder in VBA Outlook VBA and Custom Forms 1
A New Contact entry (custom form) get saved in a public folder and doesn't appear in Outolook Contacts Outlook VBA and Custom Forms 3
S Loop mail items within a Custom Search Folder Outlook VBA and Custom Forms 1
Y How to save a custom form in a specified folder? Outlook VBA and Custom Forms 2
R copying a custom view from a public folder and distributing programatically Outlook VBA and Custom Forms 3
J Getting values of custom categories set on Calendar folder Outlook VBA and Custom Forms 2
C Using my custom form with a public folder Outlook VBA and Custom Forms 6
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1
S Custom Field Cannot Be Displayed In Views Outlook VBA and Custom Forms 2
D Custom Search Folders not refreshing/updating automatically Using Outlook 0
F Validation on custom task form after task acceptance Outlook VBA and Custom Forms 1
K UDF with formula not showing on Calendar custom view. Outlook VBA and Custom Forms 0
S Create a clickable custom column field Outlook VBA and Custom Forms 0
I Error saving screenshots in a custom form in outlook 2016, outlook 365 - ok in outlook 2013, outlook 2010 Outlook VBA and Custom Forms 5
M VbScript for Command Button on Contacts Custom Form Using Outlook 1
G Other users can't see P.2 with custom fields in Form Outlook VBA and Custom Forms 0
O Create a custom contact form - questions before messing things up... Outlook VBA and Custom Forms 4
S Reference Custom Fields with VBA Outlook VBA and Custom Forms 2
L Custom Form Tutoral? Outlook VBA and Custom Forms 6
D Lost Access to Custom Form Outlook VBA and Custom Forms 4
M vCard does not have user-defined fields from my custom contact form (365) Using Outlook 1
S Outlook Custom Form Scripting only working when clicking on "Run this form" Outlook VBA and Custom Forms 2
A Custom VBA to sort emails into folders Outlook VBA and Custom Forms 0
Victor_50 Outlook 2013 Custom Contact Form starts with "E-mail 2" Outlook VBA and Custom Forms 2
C Custom Form (seperate layout pages and message reading pane) Outlook VBA and Custom Forms 0
C Reading Pane for Custom Form Outlook VBA and Custom Forms 2
M Custom Calendar Print Suggestions? Using Outlook 0
K Custom Category Colors Using Outlook 2
N Custom Form Controls Not Visible To Recipient Outlook VBA and Custom Forms 3
E To convert imported data to custom fields in Task list Outlook VBA and Custom Forms 1
Randy Redekopp How To Merge Contact Info to Email Custom Form Template Using Outlook 2
D Problem with custom form including _DocSiteControl1 Outlook VBA and Custom Forms 0

Similar threads

Top