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
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 >
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 >> > >
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 >>> >> >> > >
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 >>>> >>> >>> >> >> > >
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 >>>>> >>>> >>>> >>> >>> >> >> > >
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 >>>>>> >>>>> >>>>> >>>> >>>> >>> >>> >> >> > >