|
-
May 22nd, 2006, 06:47 PM
#2
Re: [2005] Using Timer : Change position of Icon Drawn on Panel
The arguments for each event handler are specific to that event. What you need to do is use your Tick event handler to set the values of certain variables that will control where the icons are drawn, then call Refresh or Invalidate on the form to raise the Paint event. In the Paint event handler you then use those variables you set to draw the icons. If you can specify just the area of the form that will be changing then Invalidate will be more efficient than Refresh.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|