13.12.2012 Views

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

emWin - SEGGER Microcontroller

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

560 CHAPTER Window Objects (Widgets)<br />

LISTBOX_GetItemText()<br />

Description<br />

Returns the text of the given list box item.<br />

Prototype<br />

void LISTBOX_GetItemText(LISTBOX_Handle hObj, unsigned Index,<br />

char * pBuffer, int MaxSize);<br />

Parameter Description<br />

hObj Handle of list box.<br />

Index Zero based item index.<br />

pBuffer Pointer to buffer to store the item text.<br />

MaxSize Size of the buffer.<br />

Additional information<br />

The function copies the text of the given list box item into the given buffer.<br />

LISTBOX_GetMulti()<br />

Description<br />

Returns if the multi selection mode of the given list box is active.<br />

Prototype<br />

int LISTBOX_GetMulti(LISTBOX_Handle hObj);<br />

Parameter Description<br />

hObj Handle of the LISTBOX widget.<br />

Return value<br />

1 if active, 0 if not.<br />

LISTBOX_GetNumItems()<br />

Description<br />

Returns the number of items in a specified list box.<br />

Prototypes<br />

unsigned LISTBOX_GetNumItems(LISTBOX_Handle hObj);<br />

Parameter Description<br />

hObj Handle of list box.<br />

Return value<br />

Number of items in the list box.<br />

LISTBOX_GetScrollStepH()<br />

Description<br />

Returns the horizontal scroll step of the given list box.<br />

Prototype<br />

int LISTBOX_GetScrollStepH(LISTBOX_Handle hObj);<br />

Parameter Description<br />

hObj Handle of list box.<br />

UM03001 User & Reference Guide for <strong>emWin</strong> V5.18 © 1997 - 2012 <strong>SEGGER</strong> <strong>Microcontroller</strong> GmbH & Co. KG

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!