[R] Redrawing !

Duncan Murdoch dmurdoch at pair.com
Sun Jan 14 19:43:19 CET 2001


On Sun, 14 Jan 2001 10:12:33 -0500, you wrote:
> With most Windows
>applications I use I observe that resizing a window (in Windoze parlance)
>with the mouse kind of blanks the interior of window until we're finish and
>then it is redrawn. With R's default device it is as if every WM_MOUSEMOVE
>event trigger's a complete redraw of the window which make the feeling quite
>different. If changing this behavior in future release is to complicated
>then lets just forget it as I and most certainly any other Windows user can
>live with that even more so if using a more recent graphic card make the
>behavior disappear.

One of the configuration options in Windows is whether or not to
attempt to redraw the complete window during move & resize operations.
I'm not sure how to set that in NT; in Win 9x/ME, it's in the Control
Panel under Display|Effects, "show window's contents while dragging".
I would guess that you have that option enabled, and that other
applications abort the redraw when they receive another message about
a move. (I'm guessing that because when I have the option enabled I
see what you're describing; I normally operate with it disabled, so I
only see the frame moving when I move or resize the window.)

A future multi-threaded version of R could probably act like other
applications, but it would mean low-level changes in the current
version.  An easier workaround is just to disable that option in
Windows.

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list