Microsoft KB Archive/940553

= Outlook 2007 does not use the Windows &quot;Selected Items&quot; color to select an item =

Article ID: 940553

Article Last Modified on 9/11/2007

-

APPLIES TO


 * Microsoft Office Outlook 2007

-



SYMPTOMS
You run a program that uses the Microsoft Windows &quot;Selected Items&quot; color to select an item. When you use that program to capture the text of a selected item in Microsoft Office Outlook 2007, the program cannot capture the text and cannot use the text.

For example, if you use an accessibility program to magnify the text of a selected item, the text is not magnified.



RESOLUTION
To resolve this problem, you must do the following:
 * Install hotfix 939596.
 * Install a version of the program that is compatible with Outlook 2007.

Note This hotfix does not fix the problem that is described in the &quot;Symptoms&quot; section. This hotfix provides a method for a software vendor to determine the color that Outlook is using for the selected items. The software vendor can then integrate this color information into its program to enable the program to recognize selected text in Outlook 2007.

How to obtain the hotfix
This issue is fixed in the Outlook 2007 Hotfix Package that is dated June 29, 2007. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

939596 Description of the Outlook 2007 hotfix package: June 29, 2007

View the registry changes after you apply the hotfix
Important You do not have to modify the registry to enable this hotfix. The registry is automatically modified after you apply the hotfix and after you start Outlook 2007.

To view the changes that are made to the registry by this hotfix, follow these steps:  Exit Outlook 2007. Start Registry Editor.  In Windows Vista, click Start, type regedit in the Start Search box, and then click OK.

If you are prompted for an administrator password or for a confirmation, type the password, or click Continue. In Microsoft Windows XP, click Start, click Run, type regedit in the Open box, and then click OK.  In the navigation pane, locate the following registry subkey, and then click it:

 Verify that the following registry entry is located in the details pane:

ViewSelectionCOLORREF

</li> On the File menu, click Exit to close Registry Editor.</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

<div class="moreinformation_section">

MORE INFORMATION
Unlike earlier versions of Microsoft Outlook, Outlook 2007 does not use the Windows &quot;Selected Items&quot; color to select an item. Instead, Outlook 2007 uses an algorithm to determine the color to use for the selected item. Therefore, if you run a program that uses the Windows &quot;Selected Items&quot; color to capture an item that is selected in Outlook 2007, the text of the selected item is not captured by that program.

To enable Outlook to write color information to the registry, apply the hotfix, and then restart Outlook. Outlook will automatically write a registry entry and a DWORD value that the affected program can use to determine the color of the selected item in Outlook. The DWORD value in the new registry entry is a COLORREF value that describes the selected color. For more information about the COLORREF value, visit the following Microsoft Developer Netowrk (MSDN) Web site:

http://msdn2.microsoft.com/en-us/library/ms532655.aspx

If you run a program that uses the Windows &quot;Selected Items&quot; color to capture the text of a selected item in Outlook 2007, contact the software vendor for a version of the program that is compatible with Outlook 2007.

For information about how to contact the software vendor, click the appropriate article number in the following list to view the article in the Microsoft Knowledge Base:

65416 Hardware and software vendor contact information, A-K

60781 Hardware and software vendor contact information, L-P

60782 Hardware and software vendor contact information, Q-Z

Additional query words: outlook2007 outlook2k7 outlook12 ol2007 ol2k7 ol12

Keywords: kbbug kbfix kbqfe kbemail kbpubtypekc kbcalendar kbtasks kbexpertiseinter kbhotfixserver kboffice2007postrtmfix KB940553

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.