Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: A window for an XAML application unexpectedly becomes the foreground window when screen rotation is run in Windows Embedded Compact 7


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a Windows Embedded Compact 7-based image that includes the SYSGEN_XAMLRUNTIME component on a device.
  • You run two applications on the device, and one of the applications is an XAML application. For example, you include the following components to run WordPad and the Music Player application:
    • SYSGEN_PWORD
    • SYSGEN_MUSIC_PLAYER (an XAML application)
  • You click the WordPad icon on the taskbar to set the WordPad application as the foreground window.
  • You use the Run dialog box to run an application that calls the ChangeDisplaySettingsEx() function to rotate the screen.

In this scenario, the Music Player application is unexpectedly in the foreground window. However, the taskbar icon shows that the WordPad application is in the foreground window.

↑ Back to the top


Cause

This problem occurs because the XAMLRuntime module does not keep the z-order for an XAML application when the module handles screen rotation.

↑ Back to the top


Resolution

Software update information

A supported software update is now available from Microsoft as Windows Embedded Compact 7 Monthly Update March 2012. In the "File information" section, the package file name contains the processor type.

Note This Windows Embedded Compact 7 Monthly Update is available for download from the following Microsoft Download Center website:

Prerequisites

This update is supported only if all previously issued updates for this product have also been installed.

Restart requirement

After you apply this update, you must perform a clean build of the whole platform. To do this, use one of the following methods:
  • On the Build menu, click Clean Solution, and then click Build Solution.
  • On the Build menu, click Rebuild Solution.
You do not have to restart the computer after you apply this software update.

Update replacement information

This update does not replace any other updates.

File information

The English version of this software update package has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

Files that are included in this update package
File nameFile sizeDateTimePath
Xamlruntime.dll1,380,35207-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntime.map1,832,65207-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntime.rel1,767,95507-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.dll7,684,09607-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.map4,645,40407-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntimecore.rel3,052,13307-Mar-201201:40Public\Common\Oak\Target\Armv5\Checked
Xamlruntime.dll2,244,60807-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntime.map2,483,37707-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntime.rel2,323,71107-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.dll10,178,56007-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.map5,195,10807-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntimecore.rel3,071,76607-Mar-201201:38Public\Common\Oak\Target\Armv5\Debug
Xamlruntime.dll987,13607-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntime.map1,263,89407-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntime.rel1,581,45607-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.dll3,661,82407-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.map1,619,66807-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntimecore.rel2,009,09007-Mar-201201:37Public\Common\Oak\Target\Armv5\Retail
Xamlruntime.dll1,363,96807-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntime.map1,832,09807-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntime.rel1,762,30007-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.dll7,610,36807-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.map4,652,25507-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntimecore.rel3,030,47007-Mar-201201:57Public\Common\Oak\Target\Armv6\Checked
Xamlruntime.dll2,236,41607-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntime.map2,483,61807-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntime.rel2,316,08407-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.dll10,125,31207-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.map5,201,70607-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntimecore.rel3,049,40707-Mar-201201:55Public\Common\Oak\Target\Armv6\Debug
Xamlruntime.dll974,84807-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntime.map1,263,39907-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntime.rel1,576,78707-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.dll3,571,71207-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.map1,625,71707-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntimecore.rel1,990,90707-Mar-201201:54Public\Common\Oak\Target\Armv6\Retail
Xamlruntime.dll1,359,87207-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntime.map1,832,09807-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntime.rel1,762,30007-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.dll7,548,92807-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.map4,650,83307-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntimecore.rel3,030,70207-Mar-201202:14Public\Common\Oak\Target\Armv7\Checked
Xamlruntime.dll2,232,32007-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntime.map2,483,61807-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntime.rel2,316,05507-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.dll10,051,58407-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.map5,201,70607-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntimecore.rel3,048,91407-Mar-201202:12Public\Common\Oak\Target\Armv7\Debug
Xamlruntime.dll970,75207-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntime.map1,263,32407-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntime.rel1,576,75807-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.dll3,563,52007-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.map1,624,51807-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntimecore.rel1,990,99407-Mar-201202:10Public\Common\Oak\Target\Armv7\Retail
Xamlruntime.dll1,720,32007-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntime.map1,839,36307-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntime.rel2,846,61007-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.dll8,126,46407-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.map4,693,66307-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntimecore.rel7,504,56107-Mar-201202:30Public\Common\Oak\Target\Mipsii\Checked
Xamlruntime.dll2,527,23207-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntime.map2,461,07307-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntime.rel3,902,52907-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.dll10,833,92007-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.map5,197,88507-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntimecore.rel10,289,43107-Mar-201202:28Public\Common\Oak\Target\Mipsii\Debug
Xamlruntime.dll1,236,99207-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntime.map1,434,99207-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntime.rel2,320,75307-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.dll4,247,55207-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.map1,639,66307-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntimecore.rel3,480,78207-Mar-201202:26Public\Common\Oak\Target\Mipsii\Retail
Xamlruntime.dll1,712,12807-Mar-201202:46Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntime.map1,837,75607-Mar-201202:46Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntime.rel2,818,19007-Mar-201202:46Public\Common\Oak\Target\Mipsii_fp\Checked
X amlruntimecore.dll8,085,50407-Mar-201202:45Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.map4,698,13807-Mar-201202:45Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntimecore.rel7,379,04907-Mar-201202:45Public\Common\Oak\Target\Mipsii_fp\Checked
Xamlruntime.dll2,523,13607-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntime.map2,459,15007-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntime.rel3,876,08107-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.dll10,821,63207-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.map5,202,56707-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntimecore.rel10,214,17607-Mar-201202:44Public\Common\Oak\Target\Mipsii_fp\Debug
Xamlruntime.dll1,236,99207-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntime.map1,433,56507-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntime.rel2,299,90207-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.dll4,198,40007-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.map1,643,61207-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntimecore.rel3,356,22707-Mar-201202:42Public\Common\Oak\Target\Mipsii_fp\Retail
Xamlruntime.dll1,273,85607-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntime.map1,802,32507-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntime.rel2,184,97507-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.dll6,455,29607-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.map4,649,64707-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntimecore.rel3,745,90007-Mar-201203:01Public\Common\Oak\Target\Sh4\Checked
Xamlruntime.dll2,023,42407-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntime.map2,460,24207-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntime.rel2,926,04107-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.dll8,359,93607-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.map5,193,60507-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntimecore.rel4,409,44907-Mar-201202:59Public\Common\Oak\Target\Sh4\Debug
Xamlruntime.dll925,69607-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntime.map1,424,89107-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntime.rel1,954,10607-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.dll3,219,45607-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.map1,632,47907-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntimecore.rel2,366,74707-Mar-201202:58Public\Common\Oak\Target\Sh4\Retail
Xamlruntime.dll1,069,05607-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntime.map1,786,49907-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntime.rel1,730,02307-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.dll5,410,81607-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.map4,845,75207-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntimecore.rel3,021,21907-Mar-201203:15Public\Common\Oak\Target\X86\Checked
Xamlruntime.dll1,609,72807-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntime.map2,281,04207-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntime.rel2,139,32907-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.dll7,286,78407-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.map5,204,55407-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntimecore.rel4,015,71607-Mar-201203:14Public\Common\Oak\Target\X86\Debug
Xamlruntime.dll782,33607-Mar-201203:12Public\Common\Oak\Target\X86\Retail
Xamlruntime.map1,428,02607-Mar-201203:12Public\Common\Oak\Target\X86\Retail
Xamlruntime.rel1,625,01407-Mar-201203:12Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.dll2,850,81607-Mar-201203:12Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.map1,794,11907-Mar-201203:12Public\Common\Oak\Target\X86\Retail
Xamlruntimecore.rel1,876,15407-Mar-201203:12Public\Common\Oak\Target\X86\Retail

↑ Back to the top


References

For more information about the ChangeDisplaySettingsEx function, visit the following Microsoft Developer Network (MSDN) website:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

↑ Back to the top


Keywords: kbqfe, kbfix, kbnotautohotfix, kbpubtypekc, kbexpertiseinter, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2683496
Revision : 1
Created on : 1/7/2017
Published on : 4/10/2012
Exists online : False
Views : 198