Description


Include file: xcombo.h

Parent class: XListBox

Overview

Functions

GetSel

Parameters

SHORT& start starting point of selection
SHORT& end end point

Remarks

Get the boundarys of the current selection.

XComboBox

Parameters

XWindow * theOwner The owning window.
XRect * rectangle Position and size of the combobox. You must specify the size the combobox should have when the listbox is shown!
USHORT ID The ID of the combobox. Default is zero.
ULONG style The style of the window. Valid values are:
CB_SIMPLE listbox is always shown, the user can enter text
CB_DROPDOWN listbox is activated with special button, the user can enter text
CB_DROPDOWNLIST listbox is activated with special button, the user cannot enter text

Default is CB_DROPDOWN.
char * font font to use, e.g. "8.Helvetica"

Remarks

Construct a combobox

EnableOverWrite

Parameters

BOOL overwrite TRUE=overWrite, FALSE=disable overWrite

Remarks

Enables/disables overwrite-mode.

GetFirstChar

Return-Value

SHORT index

Remarks

Get the index of the first fisible charakter.

HasChanged

Return-Value

BOOL result

Remarks

Get if the content has changed.

Hilite

Parameters

BOOL hilite TRUE=enable, FALSE=disable hiliting

Remarks

Enable/disable hiliting.

IsListShowing

Return-Value

BOOL result

Remarks

Get if the list is displayed.

IsReadOnly

Return-Value

BOOL result

Remarks

Query if the entryfild is in readonly-mode.

SetLimit

Parameters

USHORT length maximum size

Remarks

Set maximum number of charakters.

SetReadOnly

Parameters

BOOL readOnly TRUE=enable, FALSE=disable readonly-mose

Remarks

Enable/disable readonly-mode.

ShowList

Parameters

BOOL show TRUE=show, FALSE=hide the list

Remarks

Show/hide the list of the combo.


This document was generated by Jens von Pilgrim's Autodoc