Paul McNett wrote:
> I've been using FloatCanvas for 2 years now to draw a visual of a 
> manufactured product. Each component going into the product can be 
> clicked on by the user, and from their they can change dimensions and 
> other properties. Couldn't be much slicker, and I'm really happy.

glad to hear it!

> However, Mac has these really juicy backgrounds like the alternating 
> grey/silver stripes,

I've noticed this, and have had issues with another app as well. We 
never solved it there, actually. WE used to blit the background from the 
clientDC after clearing, but the Mac no longer allows that, and you're 
right, if you draw nothing, it doesn't properly clear the background.

I think what's missing is a call to the Mac Window system telling it to 
clear the Window and restore the nifty background -- I'm pretty sure 
ClientDC.Clear() ( or PaintDC.Clear() ) will only paint the background 
color, of, if that is none or transparent, it doesn't do anything.

> In case it helps with a better fix, here's how I've worked around this 
> in my code:

thanks -- but that sure does seem kludgy!

What I think we should do here is come up with a small FloatCanvas and 
Dabo free example that shows the issue, and post that to the wxPython 
list. And/or the wx-dev list -- the other app I have this issue with is 
pure C++.

It would be great if you could do that, but if you don't' I"ll try to 
get to it.

-Chris


-- 
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R            (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

[EMAIL PROTECTED]
_______________________________________________
FloatCanvas mailing list
FloatCanvas@mithis.com
http://mail.mithis.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to