Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Dead end.


I wouldn't say that, it's basically what keeps Windows alive.


Win32 is on life support. Many new features added since Vista don't work with it at all, or require complex code to enable in Win32 apps.


They surely do, because COM is part of Win32.

Now I admit it is a bit more complex than calling C functions, but only if one insists in calling COM from C.


I got the impression that Windows used to make APIs so that others could use the same UI elements as the OS in their programs. Have they stopped doing that?


More or less... yes.

Win32 was the one and only GUI framework. If you wrote your app for Windows, it would look like Windows. This was true for Windows NT, Windows 2000, and XP.

Then Office got the Ribbon UI but they decided not to let anyone else use it. Then Vista got the Windows Presentation Foundation (WPF), which was a lot like HTML, but used XML and had a more powerful styling+templating system. At one point they even tried to make JavaScript Windows applications a thing over a decade before it unfortunately did become a thing (Electron).

The problem is that WPF, like HTML, allowed nearly "anything". You could style any control any way that you wanted. So WPF apps looked somewhat... random.

Worse, it turned out that WPF was just too slow for applications, to the point that Microsoft themselves almost never used it. Instead, they used incompatible bits and pieces of it with C++ so that they could have something reasonably fast. But this wasn't WPF, and didn't look the same as user apps, and wasn't even internally consistent!

Now there are something like 10+ UI frameworks from Microsoft alone, not including third-party ones that can run on Windows.

This is why the Windows 11 interface is such a mess.


Ribbon UI is availabe in Win32 as a COM library.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: