Weird Phone List view problem

J

Jason Coley

Hi there,

I have a strange problem that occurs in Outlook 2003 and 2007, let me
explain.

I have a com addin (adds a right pane to the standard Contacts folder) that
accesses the CurrentView object from the activeexplorer.

I have two phone list views, each one filters the view be category. If I
switch between the views my addin calls the CurrentView object.

Now each time I access the CurrentView object the colums get progressively
smaller (sometimes even larger), I can't figure out why, if I stop the call
to access the view the column resizing stops.

I am using Delphi and code is as follows:

CurrentView: OLEVariant;
begin

CurrentView := MyOutlook.ActiveExplorer.CurrentView;

if I comment out this line the views don't change size.... weird.

I guess the other option I have is to use MAPIX to get the view information,
is this possible?

Jason
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top