[perl-win32-gui-users] Solved Re: Help with Win32::Gui::Graphic, WM_Paint and InvalidateRect

2003-11-23 Thread rkoch
Hello, I managed to solve my own problem with about 3 hours of tinkering and reading MSDN. Although I still haven't figured out how exactly WM_Paint messages are being generated. If I comment out the Update and the InvalidateRect method calls, the graph line still gets drawn; which means calling Sh

[perl-win32-gui-users] Help with Win32::Gui::Graphic, WM_Paint and InvalidateRect

2003-11-23 Thread rkoch
Hi, I am trying to draw an interactive graph in a window, and I don't want to use GD, ImageMagick, Freeimage or any other libraries because of portability issues. However, I can't figure out how to correctly use Win32::GUI::Graphic, Win32::GUI::DC, WM_Paint and InvalidateRect. I've tried reading th