News for hackers. Stuff that matters.
Re:So you want to write a GUI framework by dfox on Wednesday August 11, 2021 @02:31PM (#28145827)
I somewhat suspect that WordPad is the only MS application that actually follows all the MS recommendations about usage of Win32 API and Windows HIG/UX.
Re:So you want to write a GUI framework by happyweasel on Wednesday August 11, 2021 @02:47PM (#28146031)
It's written in MFC, and the sourcecode is on github (https://github.com/microsoft/VCSamples/tree/master/VC2010Sam...)
Re:So you want to write a GUI framework by pjmlp on Thursday August 12, 2021 @02:38AM (#28152763)
Going a bit on the side track over here, due to MFC being mentioned.

Given the current state of C++/WinRT tooling, even the aging MFC is more productive for Windows applications.

It doesn't matter it isn't modern C++, is full of CWhaterver, it is still more than good enough for those use cases where .NET isn't an option for whatever reason and C++ must be used.

Re:So you want to write a GUI framework by homarp on Wednesday August 11, 2021 @05:15PM (#28147853)
"The WordPad sample demonstrates how to implement an application that imitates the functionality of WordPad, including the user interface elements and some of the capabilities." per the readme
Re:So you want to write a GUI framework by happyweasel on Thursday August 12, 2021 @02:14AM (#28152597)
Ah! thanks for clarifying