Is there a way to make a visual studio 2005 form repaint itself every 'x' number of milliseconds? Thanks.

Recommended Answers

All 2 Replies

Do it via a timer. In the message loop handle the timer event for repainting and repaint.

I missaid what I need. I have a mainform, and I want it to update its data, which is done through its constructor. My other forms update fine after they close and upon reopening the fields are changed that I wanted updated. How do I simulate this without closing and reopening? Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.