Functions | |
void | D4D_ListBoxEnsureVisible (D4D_OBJECT *pThis) |
Function ensure that the selected item in list will be scrolled to visible area. More... | |
D4D_LIST_BOX_INDEX | D4D_ListBoxGetIndex (D4D_OBJECT *pThis) |
Function returns the current selected item index. More... | |
void | D4D_ListBoxSetIndex (D4D_OBJECT *pThis, D4D_LIST_BOX_INDEX ix) |
Function select new item by index. More... | |
D4D_LIST_BOX_INDEX | D4D_ListBoxGetItemCount (D4D_OBJECT_PTR pThis) |
Function gets the count of list box items. More... | |
D4D_LIST_BOX_INDEX | D4D_ListBoxFindUserDataItem (D4D_OBJECT_PTR pThis, void *pUser) |
Function finds the index of items with specified user data. More... | |
void * | D4D_ListBoxGetItemUserData (D4D_OBJECT_PTR pThis) |
Function gets the selected item user data. More... | |
D4D_TCHAR * | D4D_ListBoxGetItemText (D4D_OBJECT_PTR pThis) |
Function gets the selected item text. More... | |
D4D_TCHAR * | D4D_ListBoxGetItemTextIx (D4D_OBJECT_PTR pThis, D4D_LIST_BOX_INDEX ix) |
Function gets the text of item choosed by item index. More... | |
void | D4D_ListBoxChangeItemList (D4D_OBJECT_PTR pThis, const D4D_LIST_BOX_ITEM *pItems) |
Function change the items list using by list box. More... | |
D4D_LIST_BOX_ITEM * | D4D_ListBoxGetItemList (D4D_OBJECT_PTR pThis) |
Function gets the current using item list. More... | |
This section specifies the exact usage for each API function.
void D4D_ListBoxChangeItemList | ( | D4D_OBJECT_PTR | pThis, |
const D4D_LIST_BOX_ITEM * | pItems | ||
) |
Function change the items list using by list box.
pThis | - pointer to the list box object |
pItems | - pointer to the new item list |
Definition at line 637 of file d4d_list_box.c.
void D4D_ListBoxEnsureVisible | ( | D4D_OBJECT * | pThis | ) |
Function ensure that the selected item in list will be scrolled to visible area.
pThis | - pointer to the list box object |
Definition at line 494 of file d4d_list_box.c.
D4D_LIST_BOX_INDEX D4D_ListBoxFindUserDataItem | ( | D4D_OBJECT_PTR | pThis, |
void * | pUser | ||
) |
Function finds the index of items with specified user data.
pThis | - pointer to the list box object |
pUser | - user data that is used to look for the item index (must match) |
Definition at line 574 of file d4d_list_box.c.
D4D_LIST_BOX_INDEX D4D_ListBoxGetIndex | ( | D4D_OBJECT * | pThis | ) |
Function returns the current selected item index.
pThis | - pointer to the list box object |
Definition at line 516 of file d4d_list_box.c.
D4D_LIST_BOX_INDEX D4D_ListBoxGetItemCount | ( | D4D_OBJECT_PTR | pThis | ) |
Function gets the count of list box items.
pThis | - pointer to the list box object |
Definition at line 560 of file d4d_list_box.c.
D4D_LIST_BOX_ITEM* D4D_ListBoxGetItemList | ( | D4D_OBJECT_PTR | pThis | ) |
Function gets the current using item list.
pThis | - pointer to the list box object |
Definition at line 655 of file d4d_list_box.c.
D4D_TCHAR* D4D_ListBoxGetItemText | ( | D4D_OBJECT_PTR | pThis | ) |
Function gets the selected item text.
pThis | - pointer to the list box object |
Definition at line 607 of file d4d_list_box.c.
D4D_TCHAR* D4D_ListBoxGetItemTextIx | ( | D4D_OBJECT_PTR | pThis, |
D4D_LIST_BOX_INDEX | ix | ||
) |
Function gets the text of item choosed by item index.
pThis | - pointer to the list box object |
ix | - index to item array |
Definition at line 620 of file d4d_list_box.c.
void* D4D_ListBoxGetItemUserData | ( | D4D_OBJECT_PTR | pThis | ) |
Function gets the selected item user data.
pThis | - pointer to the list box object |
Definition at line 595 of file d4d_list_box.c.
void D4D_ListBoxSetIndex | ( | D4D_OBJECT * | pThis, |
D4D_LIST_BOX_INDEX | ix | ||
) |
Function select new item by index.
pThis | - pointer to the list box object |
ix | - index of item that should be selected |
Definition at line 533 of file d4d_list_box.c.