[python-win32] force outlook ui update

Tim Golden mail at timgolden.me.uk
Wed Oct 29 09:55:36 CET 2008


Christan K. wrote:
> Tim Roberts <timr <at> probo.com> writes:
> 
>> Christian K. wrote:
>>
>>> the subject field in the inbox list changes immedately but the subject
>>> line of the message itself (either shown in the embedded panel or in
>>> its own frame) does not. After a couple of other actions, i.e.
>>> selecting and deslecting other items the message subject will be
>>> updated in every place.
>>>
>>> Is there a way to force an UI update?
>> No.  MAPI controls the mail engine, not the user interface.
> 
> Actually I did not expect to find something within mapi. Do you have any ideas 
> where to look for these gui related issues?

You'll probably want to automate the Outlook Application itself
via its IDispatch COM interface ("Outlook.Application"). There
you do have some degree of control over the interface. I think
that if you need more than that, you'll have to look at Outlook
plugins and perhaps take a look at the Spambayes project for some
examples there.

TJG


More information about the python-win32 mailing list