Archives
- November 2025
- October 2025
- September 2025
- August 2025
- July 2025
- June 2025
- May 2025
- April 2025
- March 2025
- February 2025
- January 2025
- December 2024
- November 2024
- October 2024
- September 2024
- August 2024
- July 2024
- June 2024
- May 2024
- April 2024
- March 2024
- February 2024
- January 2024
- October 2023
- September 2023
- August 2023
- July 2023
- June 2023
- May 2023
- April 2023
- March 2023
- January 2023
- December 2022
- November 2022
- October 2022
- September 2022
- July 2022
- June 2022
- May 2022
- April 2022
- March 2022
- February 2022
- January 2022
- December 2021
- November 2021
- October 2021
- September 2021
- August 2021
- July 2021
- June 2021
- May 2021
- April 2021
- March 2021
- February 2021
- January 2021
- December 2020
- November 2020
- October 2020
- September 2020
- August 2020
- July 2020
- June 2020
- May 2020
- April 2020
- March 2020
- February 2020
- January 2020
- December 2019
- November 2019
- October 2019
- September 2019
- August 2019
- July 2019
- June 2019
- May 2019
- April 2019
- March 2019
- February 2019
- January 2019
- December 2018
- November 2018
- October 2018
- August 2018
- July 2018
- June 2018
- May 2018
- April 2018
- March 2018
- February 2018
- January 2018
- December 2017
- November 2017
- October 2017
- August 2017
- July 2017
- June 2017
- May 2017
- April 2017
- March 2017
- February 2017
- January 2017
- December 2016
- November 2016
- October 2016
- September 2016
- August 2016
- July 2016
- June 2016
- May 2016
- April 2016
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- October 2015
- September 2015
- August 2015
- July 2015
- June 2015
- May 2015
- April 2015
- March 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- June 2014
- May 2014
- April 2014
- March 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
- March 2011
- January 2011
- November 2010
- October 2010
- August 2010
- July 2010
Windows Presentation Manager
Any programmer even passingly familiar with the Windows and Presentation Manager APIs is aware that there are significant similarities. When other windowing APIs, such as X11 or Mac OS, are taken into consideration, Windows and the Presentation Manager look like siblings, almost twins.
The similarity is not coincidental. The OS/2 GUI was even referred to as the "Windows Presentation Manager" in the early days of OS/2. The OS/2 Presentation Manager and Windows 2.0 were developed in parallel, and Microsoft was stressing the similarities.
The exact timeline is not easy to establish, but a few points are clear. The Presentation Manager was announced in April 1987; at that time, the functional specification already existed, but the code was very far from being finished. In mid-1987, when Microsoft started shipping the first OS/2 SDKs, the complete Presentation Manager API documentation was part of the kits, even though there was no code yet. To get developers started, the OS/2 SDK included Windows 1.04 and the corresponding SDK.
In late 1987, Microsoft shipped Windows 2.0. An update to the OS/2 SDK included Windows 2.03 (the only known release of Windows 2.0) together with the Windows SDK. The idea was that developers could start designing and writing GUI applications before Presentation Manager was available.
In March 1988, the first OS/2 SDK with a beta version of the Presentation Manager finally appeared. The early Presentation Manager version looked a lot like Windows 2.0 (including the ugly color scheme). The programming documentation included a "Windows Equivalents" section listing each Windows API and its Presentation Manager equivalents (or lack thereof, in some cases). OS/2 1.1 with Presentation Manager was released in late 1988, visually somewhat different from Windows 2.0 but by no means a radical departure.
Over the years, both the Presentation Manager and Windows APIs evolved, but the basic structure of windows and messages has not changed. Many of the differences between Windows and the Presentation Manager were caused by different objectives: Windows 2.0 was to be backwards compatible with Windows 1.0, and therefore existing APIs changed very little. On the other hand, Presentation Manager was a clean slate and Microsoft took it as an opportunity to clean up and improve the API design.
For example, the Windows APIs TranslateMessage and DispatchMessage, standard components of a message loop, were combined into WinDispatchMsg in Presentation Manager. In Windows, the TranslateMessage calls were effectively mandatory, and there was no real need for a separate function call. And in PresentationManager, all windowing functions received the βWinβ prefix to make it much clearer what was what.
As a result, Presentation Manager and Windows applications shared the same design philosophy and overall structure, but ended up being quite different in detail.
14 Responses to Windows Presentation Manager
Perhaps it should be mentioned that GPI (Graphics Presentation Interface) was derived from GDDM’s GCP.
Yes, the GPI was derived largely from IBM’s GDDM (Graphical Data Display Manager) and GCP (Graphics Control Program), and the GPI was developed primarily at IBM’s Hursley lab in the UK, I believe. However, the bitmap and bit-blit support in GPI came straight from Windows, with ROPs and everything.
I have two copies of Windows 2.0. One box is unopened & still in shrink wrap. The other box is opened. The only way to determine the version number is to look at the registration card. The opened box registration card shows version 203, without a decimal point. I’m going to assume it is version 2.03.
The other way to determine the version is to run the software and look at the About box π I suspect that they’re both 2.03, although Microsoft managed to muddle the versioning considerably. As far as I know, Microsoft used the terms Windows 2.0 and Windows 2.03 interchangeably. The only other 2.0x version I know of was Windows/386, which identified itself as 2.01 (and could be run without the 386 bits, essentially equivalent to the 2.03 version).
I don’t suppose you’re the Dr. Bob who used to have a column in the Microsoft Systems Journal?
@michaln- I’m not the Microsoft Dr. Bob… heh, just another dumba$$ PhD. Also, don’t forget Windows/286. I have an unopened Windows/286 NIB (with shrink-wrap). The box-end label shows: WINDOWS 286 2.11 (5.25) RREWWINJUL/5 050-350V211 and includes a bar code. I’m assuming the version is 2.11
Now, my unopened version of Windows/386 box-end label shows: WINDOWS 386 2.11 DU 50-00-727-01-02/5*N3 050-080V211 and includes a bar code. This also appears to be version 2.11. The DU probably means it includes both 3.5 and 5.25 disks.
I think Windows 2.0 is probably the rarest version of Windows (even more rare than 1.0). Remember that version 2.0 was at the center of a huge lawsuit between Microsoft and Apple- having to do with copyright infringement on Apple’s graphic user interface and other things. Windows 2.0 hardly left the sales “starting gate” and was held back as part of Microsoft’s lawyers advice.
I’m not forgetting, but Windows/286 2.1 was simply the next version of Windows 2.03. In 1987, there was Windows 2.0 and Windows/386. The successor products in 1988 were Windows/286 2.1 and Windows/386 2.1. And later (in 1989) there was version 2.11 of both. The versioning was super confusing, and I don’t think even people at Microsoft understood it.
That does not add up. According to my notes, the look & feel lawsuit was in March 1988, and targeted specifically Windows 2.03 and HP NewWave. Windows 2.03 was released in December 1987.
Good catch michaln, I meant V2.03. Heh! And in the end, Apple and Microsoft kissed and made-up…
I have a shrink wrapped box of Windows 286 version 2.10
I’m selling my entire collection of Windows, including 1.0, 2.0 (presentation manager), /286 /386, etc. most are still in their original shrink wrap. Search for seller “cosmicsymphony” or for “vintage windows”. Enjoy!
Need to clarify the inaccurate information above. GPI was NOT built by IBM Hursley. Only the retained mode portion of the graphical support came from Hursley. All direct-mode graphics was built by Microsoft and was how Windows like interactivity was supported in OS/2. I know this as fact since I was the OS/2 Microsoft Project Manager at the time.
Thanks for the correction. So part of GPI (the esoteric one) was built by IBM Hursley, the rest was more or less straight port from Windows.
I’m not sure I ever came across an application that used retained mode GPI. Anything that also existed on Windows pretty much by definition didn’t use it, because there was no Windows equivalent, so why bother.
Presentation Manager really had a more logical design. In Windows a top-level window is a single window object (HWND) with some stuff “glued” on to the periphery. Controls inside that window (e.g. buttons, scrollbars) are their own window objects (each with its own HWND).
But why the special case nature of a top-level window? In Presentation Manager a top-level window did indeed have lots of accessory windows (minimize, maximize, the close box, etc) — each was its own window object. Definitely a more logical design.
Sadly Windows NT could have fixed this with some minor pain in porting applications (which I know was what they tried to avoid) — they could have returned the HWND for the client area with GetWindow() calls to get window handles for the accessories.
This site uses Akismet to reduce spam. Learn how your comment data is processed.