|
public
EnableSorting
QueryAttributes
QueryBitmapSize
SetBitmapSize
~XContainerInfo
constructors/destructors
XContainerInfo
set/query attributes
SetAttributes
set/query container title
SetTitle
set/query containertitle
QueryTitle
splitbar
QuerySplitbarPos
SetSplitbarColumn
SetSplitbarPos
|
Derrived | : public XObject
|
DESCRIPTION The XConatinerInfo is used to set/query information about
the behavior of a XContainerControl.
|
|
|
Definition | void EnableSorting ( BOOL enable )
void EnableSorting ( BOOL enable = TRUE ) |
Parameters | rting records when they are inserted.
: BOOL sort Set TRUE if the container items should be sorted
when they are inserted. Therefor you must override the
method XContainerObject::Sort.
Default is TRUE.
|
Returns | void
-
|
|
Definition | LONG QueryAttributes ( void ) |
Returns | LONG |
|
Definition | SHORT QueryBitmapSize ( void ) |
Returns | SHORT |
|
Definition | void SetBitmapSize ( SHORT size ) |
Returns | void |
|
Definition | virtual ~XContainerInfo ( ) |
|
|
constructor of XContainerInfo
|
Definition | XContainerInfo ( char* title, LONG style )
XContainerInfo ( char* title = "", LONG attr = CO_ICON )
|
Parameters | : char * theTitle The title of the container.
Default is empty.
LONG theStyle style of the container. Valid styles are:
CO_TEXT the container is in text-mode
CO_NAME the container is in name-mode
CO_ICON the container is in icon-mode
CO_DETAIL the container is in detail-mode
CO_FLOW arrange objects dynamicaly (text and
name mode only)
CO_MINI the container use small icons
CO_TREE the container is in tree-mode
CO_OWNERPAINTBACKGROUND the owner will draw the background
(see XBackgroundDrawEvent and
XBackgroundDrawHandler)
CO_TREELINE draw the tree-line in tree-mode
CO_DRAWBITMAP draw icons
CO_DRAWICON draw bitmaps
CO_TITLE show the container-title
CO_TITLELEFT title is left-justified
CO_TITLERIGHT title is right-justified
CO_TITLECENTER title is centered
CO_TITLESEPARATOR the title is drawn with a separator
CO_TITLEREADONLY the title cannot been edited by the user
CO_DETAILTITLES in detail-mode the titles of XContainerColumn
are shown
The attributes can be or-ed
Default is CO_ICON.
|
Returns | -
-
|
|
|
specify here how the container should be displayed. After you have set
up the XContainerInfo use XContainerColumn::SetInfo()
|
Definition | void SetAttributes ( LONG attribute )
|
Parameters | : LONG newAttributes attributes how the container should be
displayed ( see XContainerInfo() )
|
Returns | void
-
|
|
|
specify here the title of the container. After you have set
up the XContainerInfo use XContainerColumn::SetInfo()
|
Definition | void SetTitle ( char* t )
|
Parameters | : char * theTitle
|
Returns | void
-
|
|
|
Use XContainerColumn::QueryInfo() to get information about the
container. With QueryTitle() you get the title of the container
|
Definition | void QueryTitle ( XString* s )
|
Parameters | : XString * theTitleBuffer here the title will be stored
|
Returns | void
-
|
|
|
You can query the position of the splitbar of a container. Before you use
this function call XContainerControl::QueryInfo() to get the actual settings
of the container
|
Definition | LONG QuerySplitbarPos ( void )
|
Parameters | : -
|
Returns | LONG
LONG the position in window-pixels
|
|
You can set a splitbar in a container. When you have used this function
call XContainerControl::SetInfo() to actualize the container
|
Definition | void SetSplitbarColumn ( XContainerColumn* col )
|
Parameters | : XContainerColumn * theColumn the XContainerColumn after that the splitbar
will be displayed
|
Returns | void
-
|
|
You can set the position of the splitbar of a container. When you have used this
function call XContainerControl::SetInfo() to actualize the container
|
Definition | void SetSplitbarPos ( LONG pos )
|
Parameters | : LONG position the position in window-pixels
|
Returns | void
-
|