Include file: xvaluset.h
Parent class: XControl
Overview
Functions
Parameters
| XWindow * owner | owner of the value-set
|
| XRect * rect | position and size
|
| USHORT id | control-id
|
| ULONG style | style, possible values are:
| VA_ICON
|
| VA_BITMAP
|
| VA_COLOR
|
| VA_TEXT
|
| VA_BORDER
|
| VA_ITEMBORDER
|
(can be or-ed)
|
| char * font | font to use, e.g. "8.Helv"
|
Remarks
Construct a value-set
Parameters
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| SHORT attr | the attribute:
| VA_ICON
|
| VA_BITMAP
|
| VA_COLOR
|
| VA_TEXT
|
| VA_ITEMBORDER
|
|
| BOOL enable enabe/disable attribute
|
Remarks
Set the items attributes
Parameters
SHORT row row of the item
SHORT col colum of the item
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| LONG& value | icon/bitmap-handle from the item
|
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| XColor * col | buffer to hold the color
|
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| XString * | buffer buffer to hold the text
|
Return-Value
SHORT theAttribute
Remarks
Get the items attributes
Get the items icon/bitmap-handle
Get the items color
Get the items text (if it is in text-mode)
Parameters
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| XBitmap * | bitmap
|
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| XIcon * | icon
|
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| char * text | the new text
|
| SHORT row | row of the item
|
| SHORT col | colum of the item
|
| XColor * col | the new color
|
Remarks
Set the items content
Set the items content
Set the items text (if it is in text-mode)
Set the items color (if VA_COLOR is set)
Parameters
SHORT rows
SHORT cols
Remarks
Set the number of colums and rows.
Parameters
SHORT& row row of the item
SHORT& col colum of the item
Remarks
Returns column/row of the selected item.
Parameters
SHORT row row of the item
SHORT col colum of the item
Remarks
Select an item
Parameters
XSize * size bufer to hold the size
Remarks
Returns the size of the items
Parameters
XSize * buffer to hold horizontal(vertical spacing
Remarks
Returns the spacing between the items
Parameters
XSize * size
Remarks
Set the size of the items.
Parameters
XSize * size
Remarks
Set the spacing between the items.
This document was generated by Jens von Pilgrim's Autodoc