On Mon, April 1, 2013 11:24 am, Soren Hein wrote:
> I'm drawing stuff in a window, then minimizing the window to the bottom
> part of the screen using the Windows underscore symbol.  When my mouse
> hovers over the minimized icon, the content is still there.  When I click
>  on the icon to reopen the window, the content is gone.

that's how it is supposed to work. paint operations in a window are
non-persistent. what you want is a custom "Paint" event. eg. instead of
make_example, add this sub in your program:

sub win_Paint {
    my($dc) = @_;
    # your drawing code from make_example
    $dc->Validate();
}

cheers,
Aldo



------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Perl-Win32-GUI-Users mailing list
Perl-Win32-GUI-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
http://perl-win32-gui.sourceforge.net/

Reply via email to