79633129

Date: 2025-05-22 05:35:23
Score: 0.5
Natty:
Report link

Perhaps research a more fully MVC model for MFC - inspirations see Stingray's Using MVC in MFC Applications.

Also, I believe that one useful trick could be providing the plain data model parts anchored as sub member (sub scope) hierarchy of your CDocument-typed implementation. That way one will be able to keep this entire implementation [type] [area] strictly out of scope of full CDocument types scope, thus avoiding an onerous dependency (woefully platform-specific ATLMFC / Win32 types), when having them passed to other areas.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: LinuxDev