Index

# XContainerColumn

XObject &rarrXContainerColumn

public
- GetNetxColumn
- QueryDataAttributes
- QueryTitleAttributes
- QueryTitleData
- SetDataAttributes
- SetTitleAttributes
- SetTitleData
- XContainerColumn
- ~XContainerColumn

#### Derrived

: public XObject

## public

###

GetNetxColumn

#### Definition

`

XContainerColumn* GetNetxColumn ( void )

`

#### Returns

XContainerColumn*

###

QueryDataAttributes

#### Definition

`

LONG QueryDataAttributes ( void )

`

#### Returns

LONG

###

QueryTitleAttributes

#### Definition

`

LONG QueryTitleAttributes ( void )

`

#### Returns

LONG

###

QueryTitleData

#### Definition

`

void* QueryTitleData ( void )

`

#### Returns

void*

###

SetDataAttributes

#### Definition

`

void SetDataAttributes ( LONG attr )

`

#### Returns

void

###

SetTitleAttributes

#### Definition

`

void SetTitleAttributes ( LONG attr )

`

#### Returns

void

###

SetTitleData

#### Definition

`

void SetTitleData ( void* p )

`

#### Returns

void

###

XContainerColumn

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.

#### Definition

`

XContainerColumn ( XContainerControl* ow, void* titleData, SHORT dataColumn, LONG dataSettings, LONG titleSettings, LONG width )

XContainerColumn ( XContainerControl* owner, void* titleData, SHORT dataColumn, LONG dataSettings = CFA_STRING¦CFA_FIREADONLY , LONG titleSettings = CFA_LEFT ¦ CFA_FITITLEREADONLY, LONG wight = 0 )

`

#### 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.

#### Returns

-

###

~XContainerColumn

#### Definition

`

~XContainerColumn ( )

virtual ~XContainerColumn ( )

`

#### Returns

-

Created by AutoDoc, (C) 1996 by Jens von Pilgrim