Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
platform
active.directory
adsi
adsi.iis-admin
base
com_ole
complus_mts
component_svcs
database
directx
gdi
graphics_mm
internet.client
internet.server
internet.server.isapi-dev
localization
mapi
messaging
msi
mslayerforunicode
multimedia
networking
networking.ipv6
sdk_install
security
shell
telephony.tapi_2
telephony.tapi_3
telephony.tsp
telephony.wte
tools
ui
ui_shell
win_base_svcs
win16
  
 
date: Thu, 22 Nov 2007 12:17:12 -0000,    group: microsoft.public.platformsdk.mapi        back       


Folder notifications   
Hi

When properties of a folder such as PR_CONTENT_COUNT changes, I send out a 
notification indicating that PR_CONTENT_COUNT and PR_CONTENT_UNREAD using 
the MAPI support object assigned to the message store.

Unfortunately Outlook 2003/2007 don't seem to react to this change 
immediately. Is there something else I have to do to enable Outlook to take 
note of the change?

Cheers
Win
date: Thu, 22 Nov 2007 12:17:12 -0000   author:   Windoze

Re: Folder notifications   
Do you send the appropriate notifications for the contents table 
(fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
TABLE_ROW_ADDED)?

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

"Windoze"  wrote in message 
news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
> Hi
>
> When properties of a folder such as PR_CONTENT_COUNT changes, I send out a 
> notification indicating that PR_CONTENT_COUNT and PR_CONTENT_UNREAD using 
> the MAPI support object assigned to the message store.
>
> Unfortunately Outlook 2003/2007 don't seem to react to this change 
> immediately. Is there something else I have to do to enable Outlook to 
> take note of the change?
>
> Cheers
> Win
>
date: Thu, 22 Nov 2007 13:57:31 -0800   author:   Dmitry Streblechenko

Re: Folder notifications   
Hi

I sent a TABLE_RELOAD notification for the contents table. I then sent a 
fnevObjectModified notification for the folder as the content count has 
changed.

Do I need to send a TABLE_ROW_ADDED notification? I did try the table row 
added but it had no effect. What I did notice was that table reload works 
perfectly except that the folder's updated content count is not read.

Cheers
Win

"Dmitry Streblechenko"  wrote in message 
news:uTKHOoULIHA.5764@TK2MSFTNGP06.phx.gbl...
> Do you send the appropriate notifications for the contents table 
> (fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
> TABLE_ROW_ADDED)?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
>> Hi
>>
>> When properties of a folder such as PR_CONTENT_COUNT changes, I send out 
>> a notification indicating that PR_CONTENT_COUNT and PR_CONTENT_UNREAD 
>> using the MAPI support object assigned to the message store.
>>
>> Unfortunately Outlook 2003/2007 don't seem to react to this change 
>> immediately. Is there something else I have to do to enable Outlook to 
>> take note of the change?
>>
>> Cheers
>> Win
>>
>
>
date: Fri, 23 Nov 2007 09:25:43 -0000   author:   Windoze

Re: Folder notifications   
Is the folder being modified displayed by Outlook? Do you send table 
notifications on the folder hierarchy table of the parent folder?

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

"Windoze"  wrote in message 
news:eoK5PLbLIHA.4272@TK2MSFTNGP06.phx.gbl...
> Hi
>
> I sent a TABLE_RELOAD notification for the contents table. I then sent a 
> fnevObjectModified notification for the folder as the content count has 
> changed.
>
> Do I need to send a TABLE_ROW_ADDED notification? I did try the table row 
> added but it had no effect. What I did notice was that table reload works 
> perfectly except that the folder's updated content count is not read.
>
> Cheers
> Win
>
> "Dmitry Streblechenko"  wrote in message 
> news:uTKHOoULIHA.5764@TK2MSFTNGP06.phx.gbl...
>> Do you send the appropriate notifications for the contents table 
>> (fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
>> TABLE_ROW_ADDED)?
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Windoze"  wrote in message 
>> news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
>>> Hi
>>>
>>> When properties of a folder such as PR_CONTENT_COUNT changes, I send out 
>>> a notification indicating that PR_CONTENT_COUNT and PR_CONTENT_UNREAD 
>>> using the MAPI support object assigned to the message store.
>>>
>>> Unfortunately Outlook 2003/2007 don't seem to react to this change 
>>> immediately. Is there something else I have to do to enable Outlook to 
>>> take note of the change?
>>>
>>> Cheers
>>> Win
>>>
>>
>>
>
>
date: Sat, 24 Nov 2007 00:11:51 -0800   author:   Dmitry Streblechenko

Re: Folder notifications   
Hi

The folder is being currently displayed by Outlook. I send a TABLE_RELOAD 
notification to Outlook and the fnevObjectModified on the folder with 
PR_CONTENT_COUNT and PR_CONTENT_UNREAD as having changed.

I didn't realise the hierarchy table would need to be upated as there are no 
subfolders in the folder. Basically this is for my message stores inbox 
folder to trigger a change when new messages are received.

Cheers
Win


"Dmitry Streblechenko"  wrote in message 
news:OVEkLkmLIHA.6108@TK2MSFTNGP03.phx.gbl...
> Is the folder being modified displayed by Outlook? Do you send table 
> notifications on the folder hierarchy table of the parent folder?
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:eoK5PLbLIHA.4272@TK2MSFTNGP06.phx.gbl...
>> Hi
>>
>> I sent a TABLE_RELOAD notification for the contents table. I then sent a 
>> fnevObjectModified notification for the folder as the content count has 
>> changed.
>>
>> Do I need to send a TABLE_ROW_ADDED notification? I did try the table row 
>> added but it had no effect. What I did notice was that table reload works 
>> perfectly except that the folder's updated content count is not read.
>>
>> Cheers
>> Win
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:uTKHOoULIHA.5764@TK2MSFTNGP06.phx.gbl...
>>> Do you send the appropriate notifications for the contents table 
>>> (fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
>>> TABLE_ROW_ADDED)?
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Windoze"  wrote in message 
>>> news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
>>>> Hi
>>>>
>>>> When properties of a folder such as PR_CONTENT_COUNT changes, I send 
>>>> out a notification indicating that PR_CONTENT_COUNT and 
>>>> PR_CONTENT_UNREAD using the MAPI support object assigned to the message 
>>>> store.
>>>>
>>>> Unfortunately Outlook 2003/2007 don't seem to react to this change 
>>>> immediately. Is there something else I have to do to enable Outlook to 
>>>> take note of the change?
>>>>
>>>> Cheers
>>>> Win
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 24 Nov 2007 10:57:36 -0000   author:   Windoze

Re: Folder notifications   
I mean hierarchy table of the Inbox *parent* folder (the IPM root).

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

"Windoze"  wrote in message 
news:ubrJQjoLIHA.4688@TK2MSFTNGP06.phx.gbl...
> Hi
>
> The folder is being currently displayed by Outlook. I send a TABLE_RELOAD 
> notification to Outlook and the fnevObjectModified on the folder with 
> PR_CONTENT_COUNT and PR_CONTENT_UNREAD as having changed.
>
> I didn't realise the hierarchy table would need to be upated as there are 
> no subfolders in the folder. Basically this is for my message stores inbox 
> folder to trigger a change when new messages are received.
>
> Cheers
> Win
>
>
> "Dmitry Streblechenko"  wrote in message 
> news:OVEkLkmLIHA.6108@TK2MSFTNGP03.phx.gbl...
>> Is the folder being modified displayed by Outlook? Do you send table 
>> notifications on the folder hierarchy table of the parent folder?
>>
>> Dmitry Streblechenko (MVP)
>> http://www.dimastr.com/
>> OutlookSpy  - Outlook, CDO
>> and MAPI Developer Tool
>>
>> "Windoze"  wrote in message 
>> news:eoK5PLbLIHA.4272@TK2MSFTNGP06.phx.gbl...
>>> Hi
>>>
>>> I sent a TABLE_RELOAD notification for the contents table. I then sent a 
>>> fnevObjectModified notification for the folder as the content count has 
>>> changed.
>>>
>>> Do I need to send a TABLE_ROW_ADDED notification? I did try the table 
>>> row added but it had no effect. What I did notice was that table reload 
>>> works perfectly except that the folder's updated content count is not 
>>> read.
>>>
>>> Cheers
>>> Win
>>>
>>> "Dmitry Streblechenko"  wrote in message 
>>> news:uTKHOoULIHA.5764@TK2MSFTNGP06.phx.gbl...
>>>> Do you send the appropriate notifications for the contents table 
>>>> (fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
>>>> TABLE_ROW_ADDED)?
>>>>
>>>> Dmitry Streblechenko (MVP)
>>>> http://www.dimastr.com/
>>>> OutlookSpy  - Outlook, CDO
>>>> and MAPI Developer Tool
>>>>
>>>> "Windoze"  wrote in message 
>>>> news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
>>>>> Hi
>>>>>
>>>>> When properties of a folder such as PR_CONTENT_COUNT changes, I send 
>>>>> out a notification indicating that PR_CONTENT_COUNT and 
>>>>> PR_CONTENT_UNREAD using the MAPI support object assigned to the 
>>>>> message store.
>>>>>
>>>>> Unfortunately Outlook 2003/2007 don't seem to react to this change 
>>>>> immediately. Is there something else I have to do to enable Outlook to 
>>>>> take note of the change?
>>>>>
>>>>> Cheers
>>>>> Win
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sat, 24 Nov 2007 15:00:56 -0800   author:   Dmitry Streblechenko

Re: Folder notifications   
Hi

No I don't. I guess I need to listen for events from the child objects and 
propagate them up the hierarchy.

Cheers
Win

"Dmitry Streblechenko"  wrote in message 
news:u07W%23UuLIHA.4476@TK2MSFTNGP06.phx.gbl...
>I mean hierarchy table of the Inbox *parent* folder (the IPM root).
>
> Dmitry Streblechenko (MVP)
> http://www.dimastr.com/
> OutlookSpy  - Outlook, CDO
> and MAPI Developer Tool
>
> "Windoze"  wrote in message 
> news:ubrJQjoLIHA.4688@TK2MSFTNGP06.phx.gbl...
>> Hi
>>
>> The folder is being currently displayed by Outlook. I send a TABLE_RELOAD 
>> notification to Outlook and the fnevObjectModified on the folder with 
>> PR_CONTENT_COUNT and PR_CONTENT_UNREAD as having changed.
>>
>> I didn't realise the hierarchy table would need to be upated as there are 
>> no subfolders in the folder. Basically this is for my message stores 
>> inbox folder to trigger a change when new messages are received.
>>
>> Cheers
>> Win
>>
>>
>> "Dmitry Streblechenko"  wrote in message 
>> news:OVEkLkmLIHA.6108@TK2MSFTNGP03.phx.gbl...
>>> Is the folder being modified displayed by Outlook? Do you send table 
>>> notifications on the folder hierarchy table of the parent folder?
>>>
>>> Dmitry Streblechenko (MVP)
>>> http://www.dimastr.com/
>>> OutlookSpy  - Outlook, CDO
>>> and MAPI Developer Tool
>>>
>>> "Windoze"  wrote in message 
>>> news:eoK5PLbLIHA.4272@TK2MSFTNGP06.phx.gbl...
>>>> Hi
>>>>
>>>> I sent a TABLE_RELOAD notification for the contents table. I then sent 
>>>> a fnevObjectModified notification for the folder as the content count 
>>>> has changed.
>>>>
>>>> Do I need to send a TABLE_ROW_ADDED notification? I did try the table 
>>>> row added but it had no effect. What I did notice was that table reload 
>>>> works perfectly except that the folder's updated content count is not 
>>>> read.
>>>>
>>>> Cheers
>>>> Win
>>>>
>>>> "Dmitry Streblechenko"  wrote in message 
>>>> news:uTKHOoULIHA.5764@TK2MSFTNGP06.phx.gbl...
>>>>> Do you send the appropriate notifications for the contents table 
>>>>> (fnevTableModified : TABLE_ROW_MODIFIED, TABLE_ROW_DELETED, 
>>>>> TABLE_ROW_ADDED)?
>>>>>
>>>>> Dmitry Streblechenko (MVP)
>>>>> http://www.dimastr.com/
>>>>> OutlookSpy  - Outlook, CDO
>>>>> and MAPI Developer Tool
>>>>>
>>>>> "Windoze"  wrote in message 
>>>>> news:eLs8aGQLIHA.5160@TK2MSFTNGP05.phx.gbl...
>>>>>> Hi
>>>>>>
>>>>>> When properties of a folder such as PR_CONTENT_COUNT changes, I send 
>>>>>> out a notification indicating that PR_CONTENT_COUNT and 
>>>>>> PR_CONTENT_UNREAD using the MAPI support object assigned to the 
>>>>>> message store.
>>>>>>
>>>>>> Unfortunately Outlook 2003/2007 don't seem to react to this change 
>>>>>> immediately. Is there something else I have to do to enable Outlook 
>>>>>> to take note of the change?
>>>>>>
>>>>>> Cheers
>>>>>> Win
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
>
date: Sun, 25 Nov 2007 10:15:52 -0000   author:   Windoze

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us