c++ - How to support many document types in MFC like MS office applications or Visual studio -


how make mfc application support multiple document types ms office , visual studio, when click new file window types supported appear choose , open appropriate document/view. i'm not experienced in mfc document/view architecture. of books i've read don't cover part. same on document/view cover basics drawing triangles, circles, squares. want master mfc document/view architecture, best book or tutorial that?

another thing how create mdi application don't support document/view , [it has no deal documents] deals database example mdi childs forms controls , how in c# easy set parent mdi parent , mdi child, show, appear how can achieved in mfc? type of dialog use.

there's no magic involved, lot of work. if want support document types x, y , z, need figure out models need represent them. similar document types may share similar models. e.g. in visual studio, vb.net solution , c# solution may share same model, since both .net solutions. yet native c++ may require different model. (remember models, being classes, can inherit base classes, can share similar code).


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -