At 21:42 2006-01-18, Brian Millham wrote:
How do you change the color and the style of the line.  It appears that you
have to use a Win32::GUI::Brush object, but I can't figure out how to tie it
to the Graphic object.

$dcDev->SelectObject($brush);

Create a brush for a line like this (once, not for every paint event):
my $brush = Win32::GUI::Pen->( -color => [0,0,0], -width => 1);


/J


Reply via email to