News for hackers. Stuff that matters.
Re:Wine 11.0 by Rohansi on Sunday January 18, 2026 @06:20PM (#46673224)
I'm curious why you'd want this over using a GUI library that is actually cross-platform? The way you've worded things suggests to me that you're building something new.
Re:Wine 11.0 by radarroark on Sunday January 18, 2026 @06:34PM (#46673332)
I want to go back to making desktop programs the way we used to before they turned into web apps that bundled chrome. I know I should just use Qt but I have some experience already with win32, and all the programs I have fond memories of are written with it (foobar2000, winamp, Everything, etc).
Re:Wine 11.0 by swinglock on Sunday January 18, 2026 @06:41PM (#46673368)
Win32 and Wine being a lightweight alternative to HTML and Electrum is a fun idea.
Re:Wine 11.0 by Rohansi on Sunday January 18, 2026 @06:48PM (#46673412)
Wine is going to require at least as much disk space as Electron. Performance and memory usage should at least be better though.
Re:Wine 11.0 by wizzwizz4 on Sunday January 18, 2026 @08:11PM (#46673942)
Have you considered Tk? Visually, it's quite like Win32, but it's fully cross-platform and (as of Tcl 9.0) has basic screen-reader support – so no mucking around with OLEACC shims or IAccessible2, as you'd need for COMCTL32. And it supports virtually everything Win32 does, with the ability to drop down to platform-specific sorcery (i.e., Win32) if the need arises.
Re:Wine 11.0 by purerandomness on Sunday January 18, 2026 @09:31PM (#46674442)
Re:Wine 11.0 by badsectoracula on Sunday January 18, 2026 @11:44PM (#46675136)
Someone else mentioned Lazarus, though that is Object/Free Pascal, not C/C++. The API is based on VCL for Delphi which was designed for the Windows API and even though Lazarus is cross-platform and can use multiple backends (actually i've been playing with writing a FLTK backend[0], though it is in primitive stages and FLTK doesn't really like exposing much of its guts), the API has some windows-isms (e.g. colors are 4 bytes where one byte is used a special marker to indicate system colors, just like in Windows) and the backends even have to implement a small subset of the Windows API to work :-P.

An alternative in C++ would be wxWidgets which has some (light) MFC inspirations, again feeling somewhat Windowsy though not full-on MFC/Win32 since from the beginning it had to work with X Windows / Motif in addition to Win32 (and AFAIK, the Motif backend still works).

Another alternative, even more lightweight would be the aforementioned FLTK. FLTK is also designed to be statically linked with your program (though it can be linked dynamically too if you want) so it only relies on common system libraries (as an example the screenshot in [0] relies only on the C library, the C++ library -because it is needed by FLTK and it is possible to also statically link to that too- and common X11 libraries like libX11, libXft, etc that existed on any Linux desktop system for decades now -- FLTK can also support Wayland, though i haven't tested that).

[0] https://i.imgur.com/W6XbLkr.png

Re:Wine 11.0 by __del__ on Friday January 23, 2026 @12:04PM (#46734866)
you really should use Qt. it's nicer than win32 in many ways, and it has "batteries included."
Re:Wine 11.0 by nxobject on Sunday January 18, 2026 @06:31PM (#46673312)
Perhaps a Windows-only RAD framework? (Admittedly, I can only think of VB6...)
Re:Wine 11.0 by nine_k on Sunday January 18, 2026 @08:01PM (#46673866)
Delphi!
Re:Wine 11.0 by scotty79 on Sunday January 18, 2026 @06:23PM (#46673249)
Visial Studio is quite good for gui.
Re:Wine 11.0 by Rohansi on Sunday January 18, 2026 @06:38PM (#46673353)
It is. But if you mean .NET WinForms then you don't really need Wine because Wine uses Mono to run .NET executables. If using WPF then you should check out Avalonia UI [1] which is a cross-platform alternative that is also probably better (and has good tooling in VS). There's also .NET MAUI [2] but it's maybe not as good for desktop apps.

[1] https://avaloniaui.net/ [2] https://dotnet.microsoft.com/en-us/apps/maui

Re:Wine 11.0 by dfabulich on Sunday January 18, 2026 @09:01PM (#46674258)
Because, as they always say, Win32 is the only stable ABI on Linux.