PRB: ChangeDisplaySettings Does Not Reposition Taskbar (306263)
The information in this article applies to:
- Microsoft Windows 2000 Server
- Microsoft Windows 2000 Advanced Server
- Microsoft Windows 2000 Professional
- Microsoft Windows 2000 Datacenter Server
This article was previously published under Q306263 SYMPTOMS
Calls to the ChangeDisplaySettings function are documented as broadcasting a message to reposition all Windows on the Desktop, even when the change is temporary. In Microsoft Windows 2000, sometimes a call to ChangeDisplaySettings results in a new display mode in which the taskbar has not been repositioned.
This can leave the task bar floating somewhere on the screen if the resolution of the desktop is set higher, or can cause the taskbar to disappear from the screen if the new resolution is set lower.
CAUSE
The behavior of ChangeDisplaySettings in Windows 2000 has changed and is inconsistent with the other "products" and the documentation. The Windows 2000 taskbar is only repositioned on the screen when the change in display settings are permanent.
RESOLUTION
The taskbar can be made to reposition itself by making a call to ChangeDisplaySettings that registers the change as permanent. To make the change permanent, call ChangeDisplaySettings and pass the CDS_UPDATEREGISTRY flag.
STATUSThis behavior is by design.
Modification Type: | Minor | Last Reviewed: | 4/4/2006 |
---|
Keywords: | kbDSWGDI2003Swept kbdisplay kbGDI kbprb KB306263 |
---|
|