by leetcrew · 6y ago · 0 comments
I have no idea if this is the "right" way to do things, but it seems to work.
Back when I was doing pure Windows C for a while, this helped quite a bit,
Basically you had to #include<windowsx.h> and define the STRICT macro.
There were also several utilities that made it much easier to deal with events, dialogs and callbacks.
https://docs.microsoft.com/en-us/windows/win32/api/windowsx/
https://jeffpar.github.io/kbarchive/kb/083/Q83456/
I got to learn it via the "Programmer's introduction to Windows 3.1" book,
You don't have to use all features of C++ - if you prefer a more C like style you can have that.
[0] https://www.boost.org/doc/libs/1_48_0/boost/strong_typedef.h...