But then the web came along, with browsers started taking all the growth from desktop applications. And Microsoft fought hard to prevent themselves from becoming another IBM.
Then the iPhone/Android came along. At this point, the desktop became the mainframe. The market hasn't gone away, but almost all the growth has been in mobile devices.