Minimizing Outlook?

Add-in Express™ Support Service
That's what is more important than anything else

Minimizing Outlook?
How can I minimize the Outlook Window from an addin? 
Richard Stevens




Posts: 63
Joined: 2007-01-24
Probably a silly question, but I can't figure it out - I want to minimize Outlook for the user in certain situations (and then restore it again and bring it to the front later). What's the best way to do this?

Thanks.

Richard
Posted 23 Apr, 2007 05:54:39 Top
Dmitry Kostochko


Add-in Express team


Posts: 2875
Joined: 2004-04-05
Hi Richard,

You can use the WindowState property of the _Explorer interface to minimize Outlook and the Display method to restore it.

  OutlookApp.ActiveExplorer.WindowState := olMinimized;
  //
  OutlookApp.ActiveExplorer.Display;


P.S. Note that we take up your forum requests in the order we receive them.
Besides, it may take us some time to investigate your issue. Please be sure we will let you know as soon as the best possible solution is found.

Posted 23 Apr, 2007 06:21:41 Top