Creating an OLE Container

Container Application, Lesson 1

Tip   If you prefer working from a printed tutorial, see Copying and Printing in MSDN Library Help for details about printing a lesson, a set of topics, or a single topic.

A container application is an application that can incorporate embedded or linked items into its own documents. The documents managed by a container application must be able to store and display OLE items as well as their own data. A container application must also allow users to insert new items or edit existing ones.

In this tutorial you will create a simple OLE container application, Container. The Container document can hold several in-place items that the user can resize and move in the document.

Note   This tutorial assumes that you are already familiar with Microsoft Visual C++ and with the basics of the Microsoft Foundation Class Library (MFC). If you are not, complete the Scribble Tutorial before you begin this tutorial.