![]() |
Issues with ListBox
Hi,
I'm having issues with the listbox control. I have created a custom page with a listbox, and am populating it with strings read from a file(>1000 lines). The problem I'm experiencing is that while the items are being inserted into the listbox, I do not see them there until the process completes. Now the interesting part is that I can see the vertical scrollbar shrink. Once the file read is complete, then it displays the items in the listbox..... Below is excerpt for the insertion of the strings. code: Any ideas how to get around this? I'm trying to accomplish something similar to the install part where you can see the details of the installation. Thanks in advance.... |
Quote:
Try to send WM_REDRAW message after each LB_INSERTSTRING - but you will lose a lot of performance! |
How is this done in the MUI_PAGE_INSTFILES where you can see the items being inserted in the details box (I assume WM_REDRAW is being sent??)
|
That uses a list view control and inserts items from another thread separate to the UI thread.
Stu |
Are there any examples out there that mimic the INSTFILES page? If not can you point me in the right direction with the listview?
Thanks |
Search Google for "nsis listview".
Stu |
ListBox Multiselectable
Please teachme how to get the selected strings in a ListBox with the style ${LBS_MULTIPLESEL}
${NSD_LB_GetSelection} return only a item, I want recover several items. Please helpme! |
|
1 Attachment(s)
Please helpme with this issue,
This is a try to get the selected items Quote:
Example complete: Attachment 48913 Please give me more help! |
Your LB_GETTEXT code is ok, but you need to get the item index out of the array you filled with LB_GETSELITEMS
Quote:
|
Thank you very much!
|
| All times are GMT. The time now is 17:30. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.