Added a dialog template class to use for dialog's for resource files. Use your favorate windows resource file wysiwyg to create them. Just be aware that your choices are limited if your to stay away from the M$ tool chain. Truly that's a shame, the best one I found was named ResEdit, by Julien Audo. It has a website, resedit.net. DO NOT DOWNLOAD IT FROM THERE! It seems the website has been taken over by hackers and the downloads replaced with malicious software, that or dear Julien has went to the dark side. All the same I did (for the sake of trying) email the contact email address on the site, to which Iv'e yet to recieve a reply. For the time being it can be downloaded from <href = http://software-files-a.cnet.com/s/software/12/51/89/26/ResEdit-x64.7z?token=1424595596_ab5ac9b25f60efd360143241037cf524&fileName=ResEdit-x64.7z>here</href>. If github does not treat the html properly, my appologies. In testing the code I also discovered that QtCreator needs to fix or allow developers to actually edit the call to winres, as the built in qmake generated call fails everytime. CodeBlocks however is a champ when it comes to compiling your resource file with your project. Maybe we can convience CodeBlocks to adopt QtCreators clang based codemodel implimentation. While digging around I did see there was a project for a plugin for CodeBlocks to do just that, however it's been defunct sense around 2003. I also fixed a very subtle bug caused when windows recieved the NC_DESTROY message, after several layers of inheritance the HWND was not being properly cleared, resulting in application crashes as the application was closed. I also removed the inclusion of comutil.h and comdef.h, and the HR function. It seems that the mingw-64 project needs to seriously focus on those two headers as if you try to compile with -pedantic g++ starts to really hate them and outputs over 40 errors. I Also added the needed attributes to the globals BaseWindow.h, so that it can be included across multiple translation units and the compiler can silently ignore the ODR violation, by discarding all but one instance of the symbol. For those not in the know, it just makes the library much more suitable for non trivial projects, or at least, part of it. In summary, BaseWindow.h now passes -pedantic, CppCheck(mostly), and can handle dialogs. Anyone want to help me finish wrapping up the rest of the common controls?
Added a dialog template class to use for dialog's for resource files. Use
your favorate windows resource file wysiwyg to create them. Just be aware
that your choices are limited if your to stay away from the M$ tool chain.
Truly that's a shame, the best one I found was named ResEdit, by Julien
Audo. It has a website, resedit.net. DO NOT DOWNLOAD IT FROM THERE! It
seems the website has been taken over by hackers and the downloads
replaced with malicious software, that or dear Julien has went to the dark
side. All the same I did (for the sake of trying) email the contact email
address on the site, to which Iv'e yet to recieve a reply. For the time
being it can be downloaded from <href =
http://software-files-a.cnet.com/s/software/12/51/89/26/ResEdit-x64.7z?token=1424595596_ab5ac9b25f60efd360143241037cf524&fileName=ResEdit-x64.7z>here</href>.
If github does not treat the html properly, my appologies. In testing the
code I also discovered that QtCreator needs to fix or allow developers to
actually edit the call to winres, as the built in qmake generated call
fails everytime. CodeBlocks however is a champ when it comes to compiling
your resource file with your project. Maybe we can convience CodeBlocks to
adopt QtCreators clang based codemodel implimentation. While digging
around I did see there was a project for a plugin for CodeBlocks to do
just that, however it's been defunct sense around 2003.
I also fixed a very subtle bug caused when windows recieved the NC_DESTROY message, after several layers of inheritance the HWND was not being properly cleared,
resulting in application crashes as the application was closed. I also
removed the inclusion of comutil.h and comdef.h, and the HR function. It
seems that the mingw-64 project needs to seriously focus on those two
headers as if you try to compile with -pedantic g++ starts to really hate
them and outputs over 40 errors. I Also added the needed attributes to the
globals BaseWindow.h, so that it can be included across multiple
translation units and the compiler can silently ignore the ODR violation,
by discarding all but one instance of the symbol. For those not in the
know, it just makes the library much more suitable for non trivial
projects, or at least, part of it. In summary, BaseWindow.h now passes
-pedantic, CppCheck(mostly), and can handle dialogs. Anyone want to help
me finish wrapping up the rest of the common controls?

kd-boss/WinUtility