![]() |
Masking a mail message icon
Hello,
I'm looking for a way to get the bitmap of the icon of a mail message and draw something on it and set it back to be the new icon of that message. I need to do it seperately for some messages. Each mail message may have a different icon (not yet opened, opened, replyed, forwarded). I need to get the bitmap of whatever icon a message has and draw something on it so indicate that this is some special message. Is there a way to do it using OOM or MAPI? Thanks a lot in advance, Boaz. |
Masking a mail message icon
No, you cannot do that using any public API exposed by Outlook.
Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Boaz Feldbaum" wrote in message ... Hello, I'm looking for a way to get the bitmap of the icon of a mail message and draw something on it and set it back to be the new icon of that message. I need to do it seperately for some messages. Each mail message may have a different icon (not yet opened, opened, replyed, forwarded). I need to get the bitmap of whatever icon a message has and draw something on it so indicate that this is some special message. Is there a way to do it using OOM or MAPI? Thanks a lot in advance, Boaz. |
Masking a mail message icon
OK, thanks! Is there then a way to create a column in outlook view that will
contain icons/bitmaps that I provide? Thanks a lot in advance, Boaz. "Dmitry Streblechenko" wrote in message ... No, you cannot do that using any public API exposed by Outlook. Dmitry Streblechenko (MVP) http://www.dimastr.com/ OutlookSpy - Outlook, CDO and MAPI Developer Tool "Boaz Feldbaum" wrote in message ... Hello, I'm looking for a way to get the bitmap of the icon of a mail message and draw something on it and set it back to be the new icon of that message. I need to do it seperately for some messages. Each mail message may have a different icon (not yet opened, opened, replyed, forwarded). I need to get the bitmap of whatever icon a message has and draw something on it so indicate that this is some special message. Is there a way to do it using OOM or MAPI? Thanks a lot in advance, Boaz. |
Masking a mail message icon
No, not unless you find the spots on the screen that you want and overlay
your images there using various Win32 API's. Not something I'd want to try to get working and try to maintain. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Boaz Feldbaum" wrote in message ... OK, thanks! Is there then a way to create a column in outlook view that will contain icons/bitmaps that I provide? Thanks a lot in advance, Boaz. |
Masking a mail message icon
Alternatively give the messages default message class for the items you want
to change, then assign that message class your new icon, outlook will then automatically give that messageClass the new icon register in the default icon section for that message class specified under hkcr. I would base the new message class on IPM.Note.Forwarded for eg, so that you can have a different icon but also it will use the normal default form to process this item as it would work backward to IPM.Note to find a registered form message class to process this type. therefore not affecting default behaviour. For this you will need to be access and change the message class of the items in the messageStore and preferably change it back to what it was previously prior to moving it out of that store. "Ken Slovak - [MVP - Outlook]" wrote in message ... No, not unless you find the spots on the screen that you want and overlay your images there using various Win32 API's. Not something I'd want to try to get working and try to maintain. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Boaz Feldbaum" wrote in message ... OK, thanks! Is there then a way to create a column in outlook view that will contain icons/bitmaps that I provide? Thanks a lot in advance, Boaz. |
All times are GMT +1. The time now is 08:58 PM. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com