From: Johan L. <jo...@ba...> - 2002-10-04 19:32:51
|
At 15:16 2002-10-04 -0400, Jonathan Southwick wrote: >I have a window that I draw graphs on but every time a window goes above >this window, or if I minimize it then restore it, the graphics are gone. > >Is it possible to keep the graphics on it? You need to redraw your graphs every time Windows thinks it's nessecary to do so. It will tell the control that using the WM_PAINT message. In Win32::GUI that corresponds to the _Paint event handler. So if your Graphics control is called grGraph make sure you draw everything in the sub ::grGraph_Paint. This may be too slow, but there may be solutions to that. /J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos jo...@ba... Latest bookmark: "Conference Presentation Judo" http://perl.plover.com/yak/judo/presentation/ dmoz (1 of 10): ...cial_Intelligence/Natural_Language/Conferences/ 6 |