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
 
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
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
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
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
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

Similar threads

Back
Top