Containers

A container control holds objects. For example, OS/2 provides a variety of containers, such as folders, templates, and the Workplace Shell itself. Containers can display their objects in different views: tree, icon, text, name, and details views. Using the Open Class Class Library, you can also develop your own containers and change their views, behaviors, and layouts.

The IContainer class supports both the CUA '91 container control and the Windows container. The Windows CUA container is a ported version of the OS/2 Presentation Manager container control. It has the same look-and-feel as the OS/2 Presentation Manager container control. The Windows container is composed of the list view and tree view controls which are native to the Windows environment.

Use the style, IContainerControl::pmCompatible, to select the CUA '91 container control. The native Windows list view control is the default selection in the Windows environment.

Due to the limited capabilities in Motif, the following areas of the IContainerControl and its related classes are not supported for the Open Class Class Library for AIX release:



Direct Manipulation


Using Default Direct Manipulation
Task and Samples Cross-Reference Table


ICnrHandler
IContainerControl
IContainerObject