title: MFC Applicaton: How to add a set of controls to an single document application?
body: <p>It's my first MFC application and I'm quite new to Visual Studio, so I can't understand exactly what I need to start with. I've already read many forums and MSDN articles, but almost all I see is how to use controls in dialog-based applications or how to draw or load a document in SDI applications. But my task seems to combine features of both types, so I can't even decide whether I choose the right type of MFCApp .</p>
  
  <p>Here is the simplified version of my task.
  I have to write an application in VS 2015 using MFC which must:</p>
  
  <ul>
  <li>have a common Main menu as for the document application;
  
  <ul>
  <li>have something like pane of fixed size which contains TextEdit and Button controls and some control able to display the image (in
  fact
  there must be more different controls, but it's not important for
  the question);</li>
  <li>the rest part of the area must be used to display the modified image as the result of clicking the Button on the pane;</li>
  <li>the image displayed in the control on the pane is loaded from the file chosen in File->Open dialog;</li>
  <li>the image displayed on ButtonClick event is taken from the image control on the pane and is mixed with the text from textEdit</li>
  <li>the changed image can be saved to a file via File->Save dialog.</li>
  </ul></li>
  </ul>
  
  <p>Here is <a href="https://i.stack.imgur.com/UFHvp.jpg" rel="nofollow noreferrer"> the scheme of the task </a></p>
  
  <p>Problems:</p>
  
  <ol>
  <li>I understand that dialog-based application allow to add the controls
  to the form easily, but in this case I can't understand how to deal
  with main menu and loading and saving the document. </li>
  <li>Also I found an example of adding a pane to the
      MainFrm of a document-based application but then I can't find the
      way to add any control to the added pane.</li>
  </ol>
  
  <p>Maybe someone can tell me which type of MFC application I should choose and how to deal with the problems I have when choosing this or that type. Thank you!</p>