Group:  Microsoft Outlook ยป microsoft.public.outlook.program_addins
Thread: Setting Icon for the default Mail List display

Geek News

Setting Icon for the default Mail List display
JahMic <jahmic[ at ]gmail.com> 6/1/2007 4:00:07 PM
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

Re: Setting Icon for the default Mail List display
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/1/2007 6:01:00 PM
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[ at ]gmail.com> wrote in message
news:1180713607.667747.102960[ at ]j4g2000prf.googlegroups.com...
[Quoted Text]
>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
>


Re: Setting Icon for the default Mail List display
JahMic <jahmic[ at ]gmail.com> 6/3/2007 11:37:13 AM
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...[ at ]dimastr.com> wrote:
[Quoted Text]
> 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...[ at ]gmail.com> wrote in message
>
> news:1180713607.667747.102960[ at ]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 -


Re: Setting Icon for the default Mail List display
"Dmitry Streblechenko" <dmitry[ at ]dimastr.com> 6/4/2007 6:40:50 PM
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[ at ]gmail.com> wrote in message
news:1180870633.681722.313030[ at ]j4g2000prf.googlegroups.com...
[Quoted Text]
> 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...[ at ]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...[ at ]gmail.com> wrote in message
>>
>> news:1180713607.667747.102960[ at ]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 -
>
>


Home | Search | Terms | Imprint Contact
Newsgroups Reader - provided by WiredBox.Net