gettingstarted
[Top] [All Lists]

Re: Endless Paint Events

To: Getting Started <gettingstarted at lists dot realsoftware dot com>
Subject: Re: Endless Paint Events
From: Terry Ford <tmford at shaw dot ca>
Date: Sat, 31 Dec 2005 16:05:42 -0800
Delivered-to: gettingstarted at lists dot realsoftware dot com
References: <BFDC7ED8 dot 59E0%mckernonjunk at earthlink dot net>

On 31-Dec-05, at 3:30 PM, John McKernon wrote:

My first suggestion is to post the code in that paint event There may
be a clue there.

That's the easy part - the entire code consists of:

Sub Paint(g as Graphics)

  System.DebugLog("DisplayWnd Paint Event")

I have the Console open on a separate monitor, and without deactivating RB
or my application, I can watch the Paint Events pile up in the console
window...

That explains it perfectly. You simply are misusing the Paint event to perform a task that should be done outside it.

Terry

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>