S
shubhangi
hello
I've adjoined form region to preview pane for message.I've also adjoined
form region to read pane for message.In read pane form region ,one cmd
button
(save) is placed along with 2 comboboxes.When user modifies combobox
contents
& clicks save button & close read pane I've to refresh the preview pane with
modified user supplied values.Code is
Private Sub FormRegion_Close() Handles FormRegion.Close
If Not (m_Items Is Nothing) Then
m_Items = Nothing
End If
If Not CtlRegion Is Nothing Then CtlRegion = Nothing 'CtlRegion is AX ctrl
on form region with 2 'comboboxes & save cmd bttn
'reflect changes in read pane to preview pane
m_Application.ActiveExplorer.ShowPane(Outlook.OlPane.olPreview, False) 'line
1
m_Application.ActiveExplorer.ShowPane(Outlook.OlPane.olPreview, True) 'line
2
RaiseClose()
End Sub
This refreshes preview pane form region but preview pane form region shows
up open (-) but minimized i.e. it appears at the bottom not showing all the
controls on form region.I need to click (-) & then (+) to display it
properly.
When I comment line 1 & line 2,Form region is shown properly with all
controls shown in preview pane form region.
I need to refresh preview pane form region as well as show form region
properly.
Thanks
I've adjoined form region to preview pane for message.I've also adjoined
form region to read pane for message.In read pane form region ,one cmd
button
(save) is placed along with 2 comboboxes.When user modifies combobox
contents
& clicks save button & close read pane I've to refresh the preview pane with
modified user supplied values.Code is
Private Sub FormRegion_Close() Handles FormRegion.Close
If Not (m_Items Is Nothing) Then
m_Items = Nothing
End If
If Not CtlRegion Is Nothing Then CtlRegion = Nothing 'CtlRegion is AX ctrl
on form region with 2 'comboboxes & save cmd bttn
'reflect changes in read pane to preview pane
m_Application.ActiveExplorer.ShowPane(Outlook.OlPane.olPreview, False) 'line
1
m_Application.ActiveExplorer.ShowPane(Outlook.OlPane.olPreview, True) 'line
2
RaiseClose()
End Sub
This refreshes preview pane form region but preview pane form region shows
up open (-) but minimized i.e. it appears at the bottom not showing all the
controls on form region.I need to click (-) & then (+) to display it
properly.
When I comment line 1 & line 2,Form region is shown properly with all
controls shown in preview pane form region.
I need to refresh preview pane form region as well as show form region
properly.
Thanks