home *** CD-ROM | disk | FTP | other *** search
- #ifndef _ICNRCOL_
- #define _ICNRCOL_
- /*******************************************************************************
- * FILE NAME: icnrcol.hpp *
- * *
- * DESCRIPTION: *
- * Declaration of the class(es): *
- * IContainerColumn - Details View column information. *
- * *
- * COPYRIGHT: *
- * (C) Copyright IBM Corporation 1992 *
- * All Rights Reserved *
- * Licensed Materials * Property of IBM *
- * *
- * HISTORY: *
- * $Log: U:/ibmclass/icnr/vcs/icnrcol.hpv $
- //
- // Rev 1.8 26 Oct 1992 16:53:24 PETERB
- //Added isVisible to column
- //
- // Rev 1.7 25 Oct 1992 19:26:24 BOBLOVE
- //Updated documentation
- //
- // Rev 1.6 25 Oct 1992 16:27:40 nunn
- //changed library name to ICLUI
- //
- // Rev 1.5 25 Oct 1992 11:16:24 BOBLOVE
- //External Beta Release
- * *
- *******************************************************************************/
-
- #ifndef _IVBASE_
- #include <ivbase.hpp>
- #endif
-
- #ifndef _BITFLAGS_
- #include <ibitflag.hpp>
- #endif
-
- #ifndef _HANDLE_
- #include <ihandle.hpp>
- #endif
-
-
-
- // Forward Declarations
- class IContainerWindow;
- class IContainerControl;
- class IResourceId;
- class IString;
- struct _FIELDINFO;
-
-
- class IContainerColumn : public IVBase
- {
- /*******************************************************************************
- * This class provides the container the ability to display a Details *
- * view. Functions exist to add, delete, and hide columns in a *
- * container control. It also defines the characteristics of the header *
- * for the column (text or icon) and the position of the data in the *
- * record to be displayed in the column. *
- * *
- * The default implementation of a Container column has: *
- * *
- * 1) a heading which contains centered, read-only text *
- * 2) a horizontal separator under the heading *
- * 3) a vertical separator between columns *
- * 4) string data that is non-editable, left justified, and centered *
- * vertically *
- * *
- * Notes: *
- * 1) An IContainerColumn can only be added to one container. *
- * *
- * EXAMPLE: *
- * *
- * IContainerColumn pIcon = new IContainerColumn( *
- * IContainerObject :: iconOffset(), *
- * IContainerColumn::defaultHeadingStyle, *
- * IContainerColumn::bitmapOrIcon | *
- * IContainerColumn::centerVertically); *
- * IContainerColumn pName = new IContainerColumn( *
- * IContainerObject::iconTextOffset(), *
- * IContainerColumn::defaultHeadingStyle, *
- * IContainerColumn::string | *
- * IContainerColumn::centerVertically | *
- * IContainerColumn::leftJustify | *
- * IContainerColumn::horizontalSeparator); *
- * *
- * *
- * container().addColumn(pIcon); *
- * container().addColumn(pName); *
- * *
- *