|
-
Jul 3rd, 2008, 01:45 PM
#1
Re: Flickering with FillRect
 Originally Posted by Mxjerrett
Hmm that does appear to take a fair bit of the flickering away and it doesn't seem to crash like it did last time.
You may be crashing because you are creating brushes but not destroying them (I haven't really looked at your code) , you might want to look up that stuff on MSDN or at examples using those calls. There is some examples in this tutorial by Mike D. Sutton, Using Device Contexts (DCs) in Visual Basic
i.e. GetSysColorBrush() is not as flexible but doesn't need to be destroyed since the the brush is owned by Windows.
Last edited by Edgemeal; Jul 3rd, 2008 at 02:00 PM.
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
|