Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Adam b4a8d373d8
Create README.md
5 years ago
..
daytona initial commit 5 years ago
app.cpp initial commit 5 years ago
app.h initial commit 5 years ago
dirs initial commit 5 years ago
doc.cpp initial commit 5 years ago
doc.h initial commit 5 years ago
ias.cpp initial commit 5 years ago
ias.h initial commit 5 years ago
iocs.cpp initial commit 5 years ago
iocs.h initial commit 5 years ago
ioipf.cpp initial commit 5 years ago
ioipf.h initial commit 5 years ago
ioips.cpp initial commit 5 years ago
ioips.h initial commit 5 years ago
pre.cpp initial commit 5 years ago
pre.h initial commit 5 years ago
readme.txt initial commit 5 years ago
resource.h initial commit 5 years ago
simpcntr.cpp initial commit 5 years ago
simpcntr.def initial commit 5 years ago
simpcntr.h initial commit 5 years ago
simpcntr.ico initial commit 5 years ago
simpcntr.rc initial commit 5 years ago
site.cpp initial commit 5 years ago
site.h initial commit 5 years ago
tests.cpp initial commit 5 years ago
tests.h initial commit 5 years ago
utaccel.h initial commit 5 years ago

readme.txt

Simpcntr
--------
This sample is the simplest OLE 2.0 container that can be written and
still support the visual editing feature. The sample has no native
file format, and can only support one OLE object at a time. The
Insert Object command is used to create an object.

See the MAKEFILE for compilation instructions.


Simple Container Objects Overview :
-----------------------------------
Simple Container consists of three main objects. The top level is CSimpleApp,
under which is CSimpleDoc, and the innermost level is CSimpleSite. CSimpleApp
is used to hold the main window information. (eg. handle to the main window,
handle to the UI Active Object) CSimpleApp always exists as long as the
simple container application is alive. It demonstrates the implementation of
IOleInPlaceFrame, in its nested class COleInPlaceFrame.

The next level object is CSimpleDoc object. It is instantiated by CSimpleApp
when a new document is created. It is used to hold the handles to the main
menus and the submenus and manipulate changes to these menus.

The CSimpleDoc object instantiates CSimpleSite object as the user chooses to
insert a new object into the document. CSimpleSite demonstrates the
implementation of IAdviseSink, IOleInPlaceSite and IOleClientSite through
its nested classes. These interfaces are implemented as CAdviseSink,
COleInPlaceSite and COleClientSite accordingly. CSimpleSite acts as a client
site to communicate to a remote server.