December 21, 2024

Dynamic Windows Function [dw_listbox_selected]

Syntax

int dw_listbox_selected(HWND handle)

Parameters

HWND handle: Handle to the listbox to be queried.

Returns

int The selected item index or DW_ERROR_UNKNOWN (-1) on error.

Description

Returns the index to the item in the list currently selected.