A Microsoft Outlook email forum. Outlook Banter

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.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Preview Pane refresh with form region



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old November 15th 07, 01:21 PM posted to microsoft.public.outlook.program_vba
shubhangi
external usenet poster
 
Posts: 28
Default Preview Pane refresh with form region

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.OlPa ne.olPreview, False) 'line
1
m_Application.ActiveExplorer.ShowPane(Outlook.OlPa ne.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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
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


All times are GMT +1. The time now is 03:39 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.