AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Header:     scrolllist.h

Syntax:     
extern _kernel_oserror *scrolllist_get_selected
(
unsigned int   flags,
ObjectId       window,
ComponentId    scrolllist,
unsigned int   index,
unsigned int  *new_index
);


Purpose:     Function writes to new_index the position of the next selected item in the scroll list after position index. To search from the beginning of the list call with index == UINT_MAX. When there are no more selected items the value UINT_MAX will be written to new_index. By calling this function iteratively it is possible to enumerate all selected items in a list.

[sh-index] Back to list of manuals