Charles wrote:
I have an app that uses canvases to accept dropped images from the
Finder or other apps via drag and drop.  When the app window is in
the foreground, the canvas refreshes on the file drop as it should.
However, when the RB app window is in the background, the canvases do
not refresh as they should until the RB app window is brought to the
foreground.

This problem occurs with 2006R1, R2 and R3.
This was not a problem with v5.5.

Please vote on this so it can be fixed for vR4.
The feedback report is njtzghbc.

Been there, done that.

There is a workaround for this problem. The trick is to tickle the
event queue while the application is in the background. To do
this, add the following code to your application class. This will
force events to be processed.

Private dropTimer As Timer

Sub Activate()

  ' Does the timer exist?
  if not (dropTimer is nil) then

    ' Turn off the timer.
    dropTimer.mode = Timer.ModeOff
    dropTimer = nil

  end if

End Sub

Sub Deactivate()

  ' Create a timer.
  dropTimer = new Timer

  ' Set up the timer.
  dropTimer.Period = 333
  dropTimer.Mode = Timer.ModeMultiple

End Sub

_______________________________________________
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>

Reply via email to