Convert MFC Doc / View to?

My question will be difficult to formulate, but for starters:

I have an MFC SDI application that I have been working on for an embarrassing long time that did not seem to fit the Doc / View architecture. That is, there is nothing useful in the Dock. It is multithreaded and I need to do more with threads, etc.

I also dream of porting it to Linux X Windows, but so far I know nothing about this programming environment. Maybe a Mac too.

My question is where to go from here?

I think I would like to convert from MFC Doc / View to a direct Win API application with message loops and window procedures, etc. But the challenge seems huge.

Does Linux X Windows use a similar type of message loop, window procedure architecture?

Can I go partially? How to convert a little at a time without making my program unusable for long periods of work?


Added later:

- ( ). , , , , () ( ). " ", DOS, , . , "" "", , . " Windows" 5th Ed. ( , (C) 1998), Windows.

, #, NET, MFC, MVC, Qt, wxWidgets ..

, , , MFC, - , , , , , MFC . " Windows", , . , , - .

+3
1

X -, Windows X-, , .

, , - Qt wxWidgets, . , wxWidgets MFC, , , , ( ) "", , , , .

MFC, , Qt . ", ".

MFC "document/view", Qt Model-View-Controller. MFC Document , , , , Qt , -, , , .

, , . MVC , , , , , , . , , .


: , . , , - , . , .

, -. , , , . , , ( , ()), ). ( ) .

, -, ( ?) - , . . , , "" , , .

. , , (, , ). , , "" .

, , Document/View MVC. , , , Qt /, , - , , , , , , .

, wxWidgets MFC - Document View, Model, View Controller. , , , . , , , : MFC, , wxWidgets, , , "", , , - C * wx * . , , , - - MFC , ( , ) wxWidgets , .

Qt, , - . , , , , , , , , , . / View . // , ( ) . () , , , (, , ). , , /, (, , , ).

+2

Source: https://habr.com/ru/post/1737790/


All Articles