Minimize outlook addin on activated

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

Minimize outlook addin on activated
 
Manuel M




Posts: 2
Joined: 2019-01-25
Hi,
I try to hide the ADXOlForm by default in the ADXOlForm.Activated.
For this i check if it is the first run of the form and if so i use the Hide() method.
But it then is completely gone, so nog minimized and the user cannot open it.
So how do i have to minimize it by default now (in Outllok 2016 version 1812)

Thanks,
Manuel
Posted 25 Jan, 2019 08:15:02 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
Hello Manuel,

You prevent the form from being shown by setting ADXOlForm.Visible=false in the ADXOlForm.ADXBeforeFromShow event.


Andrei Smolin
Add-in Express Team Leader
Posted 25 Jan, 2019 08:30:28 Top
Manuel M




Posts: 2
Joined: 2019-01-25
Hello Andrei,

thank you for the quick reply.
I now have set the RegionState to Minimized in de 'ADXBeforeFromShow'

Thanks,
Manuel
Posted 25 Jan, 2019 09:26:47 Top
Andrei Smolin


Add-in Express team


Posts: 18821
Joined: 2006-05-11
You are welcome!


Andrei Smolin
Add-in Express Team Leader
Posted 25 Jan, 2019 10:54:33 Top