OWLNext 7.0
Borland's Object Windows Library for the modern age
|
Encapsulates an item in an extended combo box (COMBOBOXEXITEM). More...
#include <owl/combobex.h>
Public Member Functions | |
TComboBoxExItem () | |
TComboBoxExItem (const tstring &str, INT_PTR item=-1, int image=-1) | |
TComboBoxExItem (const tstring &str, INT_PTR item, int image, int selectedImage, int overlayImage=-1, int indent=-1, LPARAM param=0) | |
TComboBoxExItem (const TComboBoxExItem &item) | |
Copies the property data, not the properties themselves. | |
TComboBoxExItem & | operator= (const TComboBoxExItem &item) |
Assigns the property data, not the properties themselves. | |
Comparison operators for templates | |
bool | operator< (const TComboBoxExItem &item) |
bool | operator== (const TComboBoxExItem &item) |
Public Attributes | |
Properties | |
TProperty< int > | Mask |
Band image index (into rebar image list): don't use -1. | |
TProperty< INT_PTR > | Item |
== -1 to add at end | |
TObjProperty< tstring > | Text |
Band text label. | |
TProperty< int > | Image |
The item image. | |
TProperty< int > | Selected |
The item selected image. | |
TProperty< int > | Overlay |
Band colors. | |
TProperty< int > | Indent |
Band colors. | |
TProperty< LPARAM > | Param |
Additional data. | |
Protected Member Functions | |
void | Init () |
Initialises all data members to zero. | |
void | InitItem (COMBOBOXEXITEM &item, uint tsize=0) const |
Initializes native item with this. | |
void | ReFillItem (const COMBOBOXEXITEM &item) |
Initializes this with native item. | |
Friends | |
class | TComboBoxEx |
Encapsulates an item in an extended combo box (COMBOBOXEXITEM).
Definition at line 37 of file combobex.h.
owl::TComboBoxExItem::TComboBoxExItem | ( | ) |
Definition at line 229 of file combobex.cpp.
References Init().
owl::TComboBoxExItem::TComboBoxExItem | ( | const TComboBoxExItem & | item | ) |
Copies the property data, not the properties themselves.
Definition at line 262 of file combobex.cpp.
References operator=().
|
protected |
|
inline |
Definition at line 49 of file combobex.h.
TComboBoxExItem & owl::TComboBoxExItem::operator= | ( | const TComboBoxExItem & | item | ) |
|
inline |
Definition at line 50 of file combobex.h.
|
protected |
|
friend |
Definition at line 79 of file combobex.h.
The item image.
Definition at line 58 of file combobex.h.
Band colors.
Definition at line 61 of file combobex.h.
== -1 to add at end
Definition at line 56 of file combobex.h.
Band image index (into rebar image list): don't use -1.
Definition at line 55 of file combobex.h.
Band colors.
Definition at line 60 of file combobex.h.
Additional data.
Definition at line 62 of file combobex.h.
The item selected image.
Definition at line 59 of file combobex.h.
TObjProperty<tstring> owl::TComboBoxExItem::Text |
Band text label.
Definition at line 57 of file combobex.h.