Cotents Pane Icons.

T

T-rev

I have created some custom forms based on each standard form to show our
client specific icons instead of the outlook ones. Have mapi message store,
exchange extensions comaddin and some CDO.

First issue with IPM.Note.MyClass - with sent mails I get the sent icon. So
I change PR_ICON_INDEX to -1 to show the default icon for that class. I
revert it back to its original value if the message is ever copied out of
our store.

Brings me to my next problem as we wish to show different icons for each
state ie. locked or checked out etc. is there any way for me to set
different icons for the same messageclass IPM.Note.MyClass instead of having
the same form published as IPM.Note.MyClass.Locked,
IPM.Note.MyClass.CheckedOut etc.

Next question is PR_ICON_INDEX an offset into your resource file or
equivalent in outlook or is there anyway to set icons and reference them
with specific values in here. I know I can set it to any of the outlook
specific values. (any way of adding some more - would help with question 1
above.

Finally is there any way to change the icons in the hierarchy table - we
have different folder types is there anyway for us to show these
differences. Note we are using MAPI so have a lot of control here but at
the moment cannot find a way to do this. Can you pulish a form to
IPF.Note.MyClass and change PR_CONTAINER_CLASS (although my feeling is this
would change the behaviour of item being added away from IPM.Note which I
wish to keep)
 
S

Sue Mosher [MVP-Outlook]

AFAIK, you can set PR_ICON_INDEX only to one of the Outlook-specific values.

I've never found any way to change a folder icon.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
T

T-rev

Ok it looks as if I may have to resort to writing a forms server and
creating the forms in c++. Now does anyone have documented way of doing
this - ie is there base samples for each of the design samples you get in
outlook to start from in C++??

Also is this the correct forum to issue this posting to - or is formserver
considered a comAdd in??

Good sights and references would be appreciated, I have the micosoft
formsserver sample as a good starting point to integrate into our
messageStore, but anyone any other nice perls or nesteggs of information to
hand on. It would be appreciated.
Thanks Now


Then I can look at values in the contents table to base my icons before
loadIcon
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top