View Single Post
  #1  
Old August 6th 09, 09:31 AM posted to microsoft.public.outlook.program_addins
Tobias Böhm
external usenet poster
 
Posts: 13
Default Custom Folder Icon

Hello,

from
http://groups.google.de/group/micros...d4c56c228bd34f
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
Ads