I have found a solution to my main problem: Brett Viren writes: > 1) The original one I described, namely, the TSlider won't redraw > correctly until after the move. I have found that turning on opaque move/resize in the canvas (via TCanvas::MoveOpaque() and ResizeOpaque() methods) that his problem goes away. Rene explained in a different thread why #3 appeared to be a problem. This leaves just: > 2) On the inital openning of the display, things are "screwed up". A > manual resize will clear them. I have this problem a lot and have > usually solved it by creating everything 1 pixel too small and then > calling TGMainFrame::Resize(). If there is a better solution, I'd > appreciate knowing it. Do you, or anyone else, have ideas on this last one? It is an area of the TG GUI classes that has always confused me. I attach my original test code, with #1 and #3 problems fixed, but still exhibiting this initial garbling of the GUI layout. -Brett.
This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:59 MET