The Samples Directory

The samples directory contains sample code to illustrate Attila concepts. Use the buildall.cmd batch file to build all samples.

CmdRouteWnd Shows the usage of the Attila WM_COMMAND routing macros defined in AttilaMsgRouting.h: BEGIN_MSG_MAP_FILTER, CHAIN_MSG_MAP_FILTER, END_MSG_MAP_FILTER, et al.
DDX/DDV Shows use of the Attila DDX/DDV maps.
Gdi Shows use of the Attila GDI wrappers. Notice the complete lack of restoring any of the DCs used.
HelloAttila Shows a small Attila application. Also shows an example of the Attila support for Window position serialization.
Lookout Shows the use of Attila splitters, infobars and listviews.
MDIDlgView Shows MDI using a "dialog view" ala the MFC form view.
MdiDocView Shows Attila doc/view support in an MDI application.
MultiSDI Shows Attila support for multi-instance SDI applications with one main window per thread ala Internet Explorer.
PropertySheets Shows Attila support for property sheets and wizards. Property pages can be based on dialog box templates w/ or w/o ActiveX controls or based on COM IPropertyPage implementations.
SDIDlgView Shows Attila doc/view support in an SDI application.
SdiDocView Shows Attila doc/view support in an SDI application.
SDIEditView Shows an Attila view parameterized via a control wrapper class, in this case, an edit control.
SingleInst Shows Attila support for single instance applications, including communicating the command line parameters from a 2nd instance to the 1st instance. 
SplitterTown Shows Attila support for splitters.