A short overview
- Outlook does a IMAPITable.sortTable( PR_DISPLAY_NAME ) on the hierarchy
table of our IPM_SUBTREE folder.
- We return S_OK (if we return MAPI_E_TOO_COMPLEX or MAPI_E_NO_SUPPORT
Outlook displays the according error to the user, and does not allow the tree
to unfold)
- Outlook 2000-2007 are now satistifed, and simply query our rows and
displays the folders in the order our table provides them in.
- However, Outlook 2010 displays the folders sorted by display name,
ignoring the order our hierarchy table provides them in.
As a sidenote, this behaviour only showed up in the recent beta, the Outlook
2010 technical preview had old-fashioned folder tree rendering, and did not
show this new behaviour.
Any thoughts on how we can force Outlook 2010 to respect our fixed sort
order?
And if this isn't possible, any suggestions on how to circumvent this
problem elegantly?
Inbox
Drafts
Sent Items
etc.
Outlook Spy shows that the hierarchy table is still in the classical
"Deleted Items, Inbox, Outbox" order. How does Outlook determine that it
should display the folders in this partical order? Does it sort them on some
property that isn't part of the default getPropList columns?
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Paul-Jan Pauptit" <spr...@please.do.not.spam.me.zonnet.nl> wrote in message
news:1F6F8065-3900-4A90...@microsoft.com...
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
"Dmitry Streblechenko" <dmi...@dimastr.com> wrote in message
news:u7r64ri...@TK2MSFTNGP05.phx.gbl...
If I could simply fake the #uses (or whatever it uses to sort on) I could
still enforce my desired sort order.
--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Paul-Jan Pauptit" <spr...@please.do.not.spam.me.zonnet.nl> wrote in message
news:CB6CE4E6-BD45-4898...@microsoft.com...