Outlook
(1)
OutlookSpy
(1)
Greets
(1)
IMAP
(1)
Ine
(1)

Strike-out subject of an appointment

Asked By Hans Schmidt
19-Nov-09 10:05 AM
Hello,

i've got the question if it is possible with extended Mapi to change
the subject on an appointment from normal to striked out. I mean the
same way if you delete a IMAP message. Then the subject is striked out
and the whole message is greyed.

Looking forward to your answers

Greets Hans

Sure, this is nothing but custom view formatting.

Dmitry Streblechenko replied to Hans Schmidt
19-Nov-09 11:38 AM
Sure, this is nothing but custom view formatting.
Out of the box, Outlook displays the strike-out for the messages with the
following named property set to 1:

{00062008-0000-0000-C000-000000000046, 0x8570, PT_LONG


--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-

First of all thank you for your answer.Unfortunately that does not work for me.

Hans Schmidt replied to Dmitry Streblechenko
20-Nov-09 08:09 AM
First of all thank you for your answer.
Unfortunately that does not work for me. If i create an appointment
with this named property 0x8570
(ImapDeleted) and set it to 1 nothing changed. The appointment is
displayed as before. It is possible that
this only works for mails but not for appointments?

Greets Hans

Again, this has nothing to do with particular item kinds, it has to do withthe

Dmitry Streblechenko replied to Hans Schmidt
22-Nov-09 10:37 AM
Again, this has nothing to do with particular item kinds, it has to do with
the folder views: - in Outlook, go to View | Current View | Customize
Current View, click "Automatic Formatting". Regular mail folder views define
strike through formatting for the expired e-mail. Calendar folders do not;
but you can customize the view manually or programmatically.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy  - Outlook, CDO
and MAPI Developer Tool
-
First of all thank you for your answer.
Unfortunately that does not work for me. If i create an appointment
with this named property 0x8570
(ImapDeleted) and set it to 1 nothing changed. The appointment is
displayed as before. It is possible that
this only works for mails but not for appointments?

Greets Hans
OK, now it gets a little bit clearer.
Hans Schmidt replied to Dmitry Streblechenko
23-Nov-09 05:27 AM
OK, now it gets a little bit clearer.

I had a look View | Current View | Customize | Automatic Formatting
of an IMAP Folder. There for expired mails a rule is set for setting
font to strike out.

Then i had a look at the same of an calender folder. If i add a new
rule there is only
the possibility to change colors but no possibility to change the font
for example.
How can i archive to get the same options as in the IMAP folder?

Furthermore i'm interested how to set this programmatically.
Using Google searching for "custom view formatting" leads to nothing.

Thanks in advance

Greets Hans


th
ine
;
he
.
t
Post Question To EggHeadCafe