From: Jonathan Southwick <[EMAIL PROTECTED]>
I have been wanting to do this forever myself but never was able to ... until today!!!

I figured out a way to do it and its rather simple. You need to use SendMessage though but it works.

Here is the answer:

$result = SendMessage($hWndControl, PBM_SETBARCOLOR, 0, $color);

Nice work. This may be a little cheeky but could you turn this into a method (SetColor?) so it could be added to the next build of win32::gui? Might as well try and get all these enhancements into the core as they are solved.

Cheers,

jez.

_________________________________________________________________
Send a funky Messenger Christmas card http://www.msn.co.uk/christmascard


Reply via email to