Re: To: Evan Marshall (Maze Maker)
- Posted by Don Phillips <Graebel at hotmail.com> Jun 07, 2002
- 490 views
>Very nice program! > >But I have a problem (under Windows 98): >When "Maze" has drawn a maze, and I then activate another program, so >that it's window lies (partly) over the drawing, and I switch back to >"Maze", the drawing is (partly) destroyed. > >It looks, as if your program cannot "remember" the maze that it has >drawn. > >Best regards, > Juergen Tis true, I just threw it out there kinda bare bones to show the enhanced algorithm. It is drawing directly to the main window, but not on a paint event so its not smart enough to redraw itself. It only draws when you click the button. This of course is an easy enough fix if you need it. Just make the calls (like the original) to a pixmap and on a paint event bitblt it to the screen.