﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » .NET Forums » General .NET Discussion  » Doevents...</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Tue, 09 Jun 2026 17:45:04 GMT</lastBuildDate><ttl>20</ttl><item><title>Doevents...</title><link>http://forum.strataframe.net/FindPost7276.aspx</link><description>I've heard that using DoEvents is a bad practice but when I'm in a loop and adding items to say a listview its the only thing i know of that refreshes the listview so i can see the progress.&lt;br&gt;
&lt;br&gt;
Any advice?</description><pubDate>Fri, 02 Mar 2007 16:49:25 GMT</pubDate><dc:creator>StarkMike</dc:creator></item><item><title>RE: Doevents...</title><link>http://forum.strataframe.net/FindPost7285.aspx</link><description>You can get the list to repaint by using BeginUpdate and EndUpdate.&amp;nbsp; That's your best bet.&amp;nbsp; Call BeginUpdate when you want to start the process, and then call EndUpdate() when you want the list to refresh... just remember to call BeginUpdate again before you continue along your loop.</description><pubDate>Fri, 02 Mar 2007 16:49:25 GMT</pubDate><dc:creator>StrataFrame Team</dc:creator></item></channel></rss>