![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
![]()
I tried to switch folders in order to refresh preview pane when changes r
made in reading pane, that worked Thanks "Ken Slovak - [MVP - Outlook]" wrote in message ... You would call it when you have a valid FormRegion object and when you want to select the form region. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "shubhangi" wrote in message ... Thanks Ken But I'm very much new to this form region.Where to invoke formregion.select.Whenever I use FormRegion.Select ,it gives me error "Not implemented" I've below code MustInherit Class BaseFormRegionWrapper Implements IDisposable Protected WithEvents FormRegion As Outlook.FormRegion Public Event Close As EventHandler Protected Sub RaiseClose() RaiseEvent Close(Me, EventArgs.Empty) End Sub 'IDisposable Members also End Class Class ReadMailFormRegionWrapper Inherits BaseFormRegionWrapper Shadows WithEvents FormRegion As Outlook.FormRegion Shadows WithEvents UserForm As Forms.UserForm Public Sub New(ByVal region As Outlook.FormRegion, ByVal application As Outlook.Application) m_Application = application Me.Item = region.Item Me.FormRegion = region Me.UserForm = CType(FormRegion.Form, Forms.UserForm) End Sub Private Sub FormRegion_Close() Handles FormRegion.Close RaiseClose() End Sub Public Class FormRegionHookupVB Implements Outlook.FormRegionStartup Sub BeforeFormRegionShow(ByVal FormRegion As Outlook.FormRegion) Implements Outlook.FormRegionStartup.BeforeFormRegionShow Dim wrapper As BaseFormRegionWrapper = Nothing Select Case FormRegion.InternalName Case NOTE_PREVIEW_PANE_REGION wrapper = New PreviewPaneMailFormRegionWrapper(FormRegion, Application) AddHandler wrapper.Close, AddressOf wrapper_Close End Select End Sub End Class |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Custom Form & Preview Pane | Scott Halper | Outlook - Using Forms | 1 | October 19th 07 02:03 AM |
Outlook Express 6 Message Panes, Lists Pane and Preview Pane | brett | Outlook Express | 5 | October 5th 07 02:20 AM |
Can you make a form that will preview in the reading pane? | derekh | Outlook - Using Forms | 1 | November 13th 06 01:26 PM |
Evault custom form & preview pane code | [email protected] | Outlook and VBA | 3 | August 31st 06 06:51 PM |
Form in the Preview Pane | glnbnz | Outlook - Using Forms | 1 | July 29th 06 02:27 PM |