SELPOS_EX_BY_POS message
Description
Position of a non-visible list item in a hierarchical list.
Applies To
(Hierarchical) list box.
Syntax
position_ex = Send_Message(controlID, "SELPOS_EX_BY_POS", position)
Parameters
For SELPOS_EX_BY_POS, Send_Message() has the following parameters.
Parameter | Description |
---|---|
Position | The position in the visible list (SELPOS). |
Returns
position_ex contains the extended position information:
Value | Description |
---|---|
<1> | Position of selected item in the (fully expanded) list (LIST_EX). |
<2> | Level of selected item. |
<3> | Number of "leafs" in the next level. 0 = None. Positive numbers indicate "leafs" are visible. Negative numbers indicate "leafs" are invisible. |
<4> | Position in list (SELPOS value). |
<5> | Position of (immediate) predecessor. |