PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Setting Icon for the default Mail List display

Reply

Setting Icon for the default Mail List display

 
Thread Tools Rate Thread
Old 01-06-2007, 05:00 PM   #1
JahMic
Guest
 
Posts: n/a
Default Setting Icon for the default Mail List display


I have a custom class, and upon OnDelivery, if I find a message of
this class, I set the icon via PR_ICON_INDEX. However, it is not
working. I am simply just giving the id of the icon from resource
file. (How do I setup a proper id?)

If possible, I do not wish to make a custom form, I just simply want
to show the icon, instead of the standard icon the standard mail view
(inbox by default)

Any help, much appreciated,

Thanks, J

  Reply With Quote
Old 01-06-2007, 07:01 PM   #2
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Setting Icon for the default Mail List display

Can't do that - youy can either set the PR_ICON_INDEX to one of the
predefined Outlook icons or create your own form and set the
PR_MESSAGE_CLASS appropriately.

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

"JahMic" <jahmic@gmail.com> wrote in message
news:1180713607.667747.102960@j4g2000prf.googlegroups.com...
>I have a custom class, and upon OnDelivery, if I find a message of
> this class, I set the icon via PR_ICON_INDEX. However, it is not
> working. I am simply just giving the id of the icon from resource
> file. (How do I setup a proper id?)
>
> If possible, I do not wish to make a custom form, I just simply want
> to show the icon, instead of the standard icon the standard mail view
> (inbox by default)
>
> Any help, much appreciated,
>
> Thanks, J
>



  Reply With Quote
Old 03-06-2007, 12:37 PM   #3
JahMic
Guest
 
Posts: n/a
Default Re: Setting Icon for the default Mail List display

Ok then, can you suggest an appropriate example form related to this
issue I could take a look at? I haven't dabbled into forms yet.

Thanks, J

On Jun 2, 3:01 am, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
> Can't do that - youy can either set the PR_ICON_INDEX to one of the
> predefined Outlook icons or create your own form and set the
> PR_MESSAGE_CLASS appropriately.
>
> Dmitry Streblechenko (MVP)http://www.dimastr.com/
> OutlookSpy - Outlook, CDO
> and MAPI Developer Tool
>
> "JahMic" <jah...@gmail.com> wrote in message
>
> news:1180713607.667747.102960@j4g2000prf.googlegroups.com...
>
>
>
> >I have a custom class, and upon OnDelivery, if I find a message of
> > this class, I set the icon via PR_ICON_INDEX. However, it is not
> > working. I am simply just giving the id of the icon from resource
> > file. (How do I setup a proper id?)

>
> > If possible, I do not wish to make a custom form, I just simply want
> > to show the icon, instead of the standard icon the standard mail view
> > (inbox by default)

>
> > Any help, much appreciated,

>
> > Thanks, J- Hide quoted text -

>
> - Show quoted text -



  Reply With Quote
Old 04-06-2007, 07:40 PM   #4
Dmitry Streblechenko
Guest
 
Posts: n/a
Default Re: Setting Icon for the default Mail List display

http://www.outlookcode.com/article.aspx?ID=35 is a good place to start.

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

"JahMic" <jahmic@gmail.com> wrote in message
news:1180870633.681722.313030@j4g2000prf.googlegroups.com...
> Ok then, can you suggest an appropriate example form related to this
> issue I could take a look at? I haven't dabbled into forms yet.
>
> Thanks, J
>
> On Jun 2, 3:01 am, "Dmitry Streblechenko" <dmi...@dimastr.com> wrote:
>> Can't do that - youy can either set the PR_ICON_INDEX to one of the
>> predefined Outlook icons or create your own form and set the
>> PR_MESSAGE_CLASS appropriately.
>>
>> Dmitry Streblechenko (MVP)http://www.dimastr.com/
>> OutlookSpy - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "JahMic" <jah...@gmail.com> wrote in message
>>
>> news:1180713607.667747.102960@j4g2000prf.googlegroups.com...
>>
>>
>>
>> >I have a custom class, and upon OnDelivery, if I find a message of
>> > this class, I set the icon via PR_ICON_INDEX. However, it is not
>> > working. I am simply just giving the id of the icon from resource
>> > file. (How do I setup a proper id?)

>>
>> > If possible, I do not wish to make a custom form, I just simply want
>> > to show the icon, instead of the standard icon the standard mail view
>> > (inbox by default)

>>
>> > Any help, much appreciated,

>>
>> > Thanks, J- Hide quoted text -

>>
>> - Show quoted text -

>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off