PRB: ChangeDisplaySettingsEx Does Not Detach a Monitor from the Desktop (306399)
The information in this article applies to:
- Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
- Microsoft Windows 98 Second Edition
- Microsoft Windows Millennium Edition
This article was previously published under Q306399 SYMPTOMS
When you call the ChangeDisplaySettingsEx function on the Microsoft Windows 95, Windows 98, Windows 98 Second Edition, or Windows Millennium Edition (Me) operating system to detach a secondary monitor from the desktop, the monitor will not immediately detach from the desktop. The ChangeDisplaySettingsEx call updates the registry settings so that the update is seen the next time the operating system is started. However, this problem does not occur on Windows NT and Windows 2000.
RESOLUTION
DEVMODE must be set up properly and the property fields in the DEVMODE structure must be set to 0 before you call ChangeDisplaySettingsEx. In addition, in order for the display to be detached immediately without the need to restart the operating system, you must call ChangeDisplaySettingsEx twice.
Modification Type: | Minor | Last Reviewed: | 4/4/2006 |
---|
Keywords: | kbDSWGDI2003Swept kbGDI kbMultiMon kbprb KB306399 |
---|
|