## Description

Include file: xcontcol.h

### Functions

#### XContainerColumn

#### Parameters

XContainerControl * theOwner | the owner of the column
void * theTitle | the title of the column, the parameter can be a pointer to a string or contain a handle for a bitmap or icon
SHORT dataColumn | a zero-based index which points to the data-column which will be used in XContainerObject::SetColumnData()
LONG dataSettings | Information about the datas in the column
COL_LEFT | field is left-justified
COL_RIGHT | field is right-justified
COL_CENTER | field is horizontal centered
COL_TOP | field is top-justified
COL_VCENTER | field is vertictal centered
COL_BOTTOM | field is bottom-justified
COL_INVISIBLE | the column is invisible
COL_SEPARATOR | vertical separator
COL_HORZSEPARATOR | horizontal separator
COL_BITMAPORICON | the data contain a handle to a bitmap/icon
COL_STRING | the data contain a string
COL_DATE | the data contain a date
COL_TIME | the data contain a time-value
COL_ULONG | the data contain a ULONG value
COL_FIREADONLY | datas are readonly
Can be or-ed;
LONG titleSettings | Information about the title of the column
COL_LEFT | title is left-justified
COL_RIGHT | title is right-justified
COL_CENTER | title is horizontal centered
COL_TOP | title is top-justified
COL_VCENTER | title is vertictal centered
COL_BOTTOM | title is bottom-justified
COL_SEPARATOR | vertical separator
COL_HORZSEPARATOR | horizontal separator
COL_BITMAPORICON | the title contain is a bitmap/icon
COL_FTITLEREADONLY | title is readonly
Can be or-ed;
LONG widthOfColumn | the width of the column in window-pixel. If zero the width of the column is set dynamicaly. Default is zero.

#### Remarks

If a container should be displayed in detail-mode you must add columns to it. Therfore you construct one or more XContainerColums, add these with XContainerControll::AddColumn and finaly call XContainerControll::UpdateColumns.

#### GetDataAttributes

#### Return-Value

LONG attruibute (see constructor for details)

#### Remarks

Query attributes for the datas

#### SetDataAttributes

#### Parameters

LONG attruibute (see constructor for details)

#### Remarks

Set attributes for the datas

#### GetColumnNumber

#### Return-Value

SHORT number

#### Remarks

Returns the number of the column in the container

#### GetNextColumn

#### Return-Value

XContainerColumn * column

#### Remarks

Returns a pointer to the next column of the container

#### GetTitle

#### Parameters

XString * buffer buffer to hold the data

#### Remarks

Query the title of a column

#### GetTitleAttributes

#### Return-Value

LONG attruibute (see constructor for details)

#### Remarks

Query attributes for the title

#### SetTitle

#### Parameters

XIcon * bitmap for the title (tilt-attributes must have COL_BITMAPORICON)
XBitmap * bitmap for the title (tilt-attributes must have COL_BITMAPORICON)
char * title

#### Remarks

Set the title
Set the title
Set the title

#### SetTitleAttributes

#### Parameters

LONG attruibute (see constructor for details)

#### Remarks

Set attributes for the title

This document was generated by Jens von Pilgrim's Autodoc