I don't know about the item being locked, I've never run into that. But
SelectionChange() is still the only way to know when a selection is changed
and to what.
--
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
"dmjames" wrote in message
...
Thanks for the info, but maybe I wasn't completely clear. What I want to
do
is change MessageClass when an item is opened and change it back when it's
closed. I don't care about the Preview Pane, except that when it's open
it
appears to "lock" the item in some way and prevent the custom form from
being
used. If I close the Preview Pane my code works as expected, but it
should
work whether or not the Preview Pane is open.
Given this, is trapping SelectionChange() still the answer or is there
another way to "unlock" the item being opened?
Thanks again,
Dave James