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 - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

losing focus when opening a mail item



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 3rd 07, 03:00 PM posted to microsoft.public.outlook.program_forms
Nikolas
external usenet poster
 
Posts: 34
Default losing focus when opening a mail item

Hi,

Our company has created an Outlook '07 Addin using form regions to send and
receive faxes. We use form regions with an integrated activeX control to view
faxes (tif format) when opening the mail item that includes the fax or when
viewing it from the reading pane. Our problem is the following:

If after we receive the fax in our inbox we double click to open the item
(while it being unread) a new inspector opens and straight after the focus
goes back to the reading pane. What we expect to happen is to open the item
and not lose focus of it at all.

What we believe is happening is that our activeX control that is used in the
form region to view the fax takes longer to load than the openning of the
item in an inspector and so it gets the focus after the item has been opened.
Note that if the item is not unread then this is not happening. The item
opens in an inspector normally and never loses its focus.

We thought that two things might happen he Either our activeX control
sets the focus to itself after it loads the file (in this situation the
attached tif file of the mail item) or Outlook gives focus to the reading
pane since its the one that gets loaded later than the inspector.

Thanks in advance.
Nikolas
 




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
How to get the focus from a folder or an item? Peter Marchert Outlook and VBA 3 October 23rd 06 07:51 AM
How to move focus/selection to a particular contact/item in Explor va Outlook and VBA 1 September 28th 06 11:31 PM
Outlook Add-In: msoControlEdit: Textbox loses text when losing focus Pieter Add-ins for Outlook 3 February 6th 06 02:37 PM
Outlook Add-In: msoControlEdit: Textbox loses text when losing focus Pieter Outlook and VBA 3 February 6th 06 02:37 PM
focus date in calender on opening Chuck Outlook - Calandaring 2 February 1st 06 12:48 AM


All times are GMT +1. The time now is 05:59 AM.


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.