LB_Msgs ListBox Messages Form1 theList TopIndex GetTopIndex /SendMessage(GetFocus(), LB_GETTOPINDEX, 0%, 0&) GetTextLen GetTextLen