Performance Question about listboxes
hi all,
in Vb6 i was used to use an api called lockwindowupdate and pass it the handle of the control so it suspends the redrawing activity until i finish all my processing. This was very very useful in loading listboxes and comboboxes with 5000 Elements. It grants us a very fastr performance because it saved us repainting the control 5000 times.
in Vb.Net , i found 2 ways
for a list and a comboboxes you can use either :
1 - begineedit - EndEdit
2 - Suspend Layout - Resume Layout
i dont understand the difference between them and what i do really care for is which couple is faster so i will use it.
can any expertise person advise me this information
THX in Advance