Release 10.1A: OpenEdge Getting Started:
New and Revised Features

> ## New WINDOW-SYSTEM value

> OpenEdge Release 10.1A provides XP Themes support that automatically adapts to the current display environment, even if you switch the display mode in the middle of a session. If you want to further customize the look of your application, there is a new `MS-WINXP` value for `WINDOW-SYSTEM`.

> Note: `WINDOW-SYSTEM` in this context refers to both the `WINDOW-SYSTEM` session handle attribute (for determining the windowing system at run time) and the corresponding variable for the `&WINDOW-SYSTEM` preprocessor (for determining the windowing system at compile time).

> `WINDOW-SYSTEM` is set to `MS-WINXP` when the OpenEdge executable (either prowin32 or prowc) is running with a manifest file and the XP theme style is the current display setting. Otherwise, it is set to `MS-WIN95` or `MS-WINDOWS` as before (the XP classic interface is considered a Windows 95 interface, so `WINDOW-SYSTEM` returns `MS-WIN95` if a manifest file is not used or if the XP display is set to the classic interface).

> Note: The `WINDOW-SYSTEM` value changes if the user changes the display style while OpenEdge is running.

> If you have any existing application code that depends on the `MS-WIN95` value, you must revisit and modify this code to work appropriately with XP. Alternatively, you can override the `WINDOW-SYSTEM` value by setting `WindowSystem = “MS-WIN95”` in the `[Startup]` section of the `progress.ini` file or registry. Then you do not need to make code changes, and your application can still make use of the manifest file (but you cannot use `WINDOW-SYSTEM` to determine whether the manifest is active or not.)

Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095