![]() |
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
|
|||
|
|||
![]()
Hi,
I’m developing an add-in for Outlook 2003/2007 with Visual Studio 2008, .Net Framework 2.0 (C#) and I’m having an issue with the default spell checking functionality provided by Outlook 2003 (Word editor) and 2007. I created a very simple test project that finds the selected item in the Explorer window and then I call the Reply() method and launch the newly created MailItem in its own Inspector. This will include the original content at the bottom of the new composing window (default option in Outlook): -- pseudo code -- selectedItem = Explorer. Selection[1]; newItem = selectedItem.Reply(); newItem.Display(false); My issue is that when the user finishes composing the response and invokes the Spell Check (F7) command the whole message is scanned, including the text of the original message, despite the fact that the “Ignore original message text in reply or forward” option is enabled (default). If I use the standard Reply button in Outlook Explorer or one of the equivalent shortcuts (or in the Inspector window), the Spell Checker honors this setting and checks only the new content in the composing message. How can I reproduced this behavior programmatically? I imagined that maybe Outlook (or Word?) is injecting some sort of marker in the content of the message (HTMLBody?) to then know when to stop checking, so I tried using OutlookSpy to see check the HTMLBody property of the new message but I can’t detect any differences there. Is there any other setting I’m missing in either the original message (“selectedItem”) or the new one created via Reply method (“newItem”) to produce this result? Thanks in advance for any comments or hints. Esteban PS: I’m also using AddinExpress components, but I understand this is not related to that library as this behavior can be reproduced with simple VB scripting. |
Ads |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Spell checker | Rolf Pomes | Outlook - General Queries | 3 | April 27th 09 06:44 PM |
Spell checker | Outlook Express | 3 | May 4th 07 03:08 PM | |
spell checker | iainsymac | Outlook Express | 1 | April 26th 07 05:00 PM |
Spell checker / ignore original message in reply or forward | coopfab | Outlook - General Queries | 9 | January 3rd 07 06:56 PM |
No spell checker | bajabum | Outlook Express | 8 | November 28th 06 02:02 AM |