Solar OS API

...


You are here: Main API -> Controls API -> Listbox


PROC API_List_Box_Item_Addr_Get STDCALL	
	USES	ebx,edx,esi,edi
	ARG	wnd_handle,item_nr	
	

This function gets the memory ADDR of an listbox item.

Arguments:

Argument Type Description
wnd_handle dword handle of target listbox
item_nr dword item number

Returns:

Possible errors:

Remarks:

Item Structure

Current item structure is like this:


STRUC LIST_BOX_ITEM_HEAD 
	item_id			dd	?	; ID used by applications to find items
	item_icon		dd	?	; ICON handle
	item_icon_phase		dd	?	; Icon pahse
	item_string		db	?	; item String starts here, lenght is unknown
ENDS