Replace Reading Pane

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

Replace Reading Pane
 
Ed Salgado




Posts: 16
Joined: 2010-06-17
Is there a ways to completely replace the reading pane on emails with certain attachments?

I have my own reading pane displaying, but Outlook shows it with two small arrows (the main reading pane followed by mine). I would like to disable the default reading pane when and only when a mail item with a certain attachment is previewed.

Thanks!

-ed
Posted 07 Jul, 2010 16:32:12 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Hi Ed,

There's no way to replace the Reading pane. A workaround is to hide it and to show your advanced custom task pane in the BottomSubPane or RightSubPane layout. See http://www.add-in-express.com/forum/read.php?FID=5&TID=5227&MID=26019#message26019.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Jul, 2010 02:02:05 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Oh, there's the Delphi version of that code, see http://www.add-in-express.com/forum/read.php?FID=1&TID=6220&MID=30863#message30863.


Andrei Smolin
Add-in Express Team Leader
Posted 08 Jul, 2010 02:04:01 Top
Ed Salgado




Posts: 16
Joined: 2010-06-17
Andrei,

I can now easily toggle the reading pane on and off... Thanks!

I am now having problems getting my custom task pane to show/hide when I toggle the reading pane. The code I am using to hide/show it is:

adxOlFormsManager1.Items[0].Enabled := TRUE; {show it}

adxOlFormsManager1.Items[0].Enabled := FALSE; {hide it}

Unfortunately, once I hide it, I can never show it again. I probably need to set another property again, but I can't seem to figure it out.

Any help you can provide would be helpful as always.

Thanks!

-ed
Posted 08 Jul, 2010 16:39:41 Top
Andrei Smolin


Add-in Express team


Posts: 18830
Joined: 2006-05-11
Ed,

http://www.add-in-express.com/support/addin-delphi.php#form-regions.


Andrei Smolin
Add-in Express Team Leader
Posted 09 Jul, 2010 10:33:42 Top