Adding String in a ListView
Posted: Tue Oct 05, 2004 4:21 pm
Im currently looking for "loading" a text file in a ListView Gadget , each line of the text on a ListView one.
My problem is that the
SendMessage_(GadgetID(#ListView_0), #LB_ADDSTRING, 0, String)
doesnt seem to work for me .. i bet i m wrong with the OpenFile command trying to retrieve each line then send it to ListView via SendMessage_ ...
could someone give me a hint to create a routine retrieving each line strings after a OpenFile command on a .txt file ?
My problem is that the
SendMessage_(GadgetID(#ListView_0), #LB_ADDSTRING, 0, String)
doesnt seem to work for me .. i bet i m wrong with the OpenFile command trying to retrieve each line then send it to ListView via SendMessage_ ...
could someone give me a hint to create a routine retrieving each line strings after a OpenFile command on a .txt file ?