RE: [perl-win32-gui-users] Progress bar's [coloring]

2004-01-03 Thread Johan Lindstrom
At 15:08 2003-12-24, Frazier, Joe Jr wrote: Johan, is there any way these can also be added as properties to TGL? Depending on how long it will be before the next release will come out, you may want to do it yourself if the code, or wait for the whole thing in the next version of Win32::GUI

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-24 Thread Левин
Thanks PBM_SETBARCOLOR ( 0x400 + 9 ) PBM_SETBKCOLOR(?) PBM_SETSTEP (?) PBM_SETBKCOLOR = 0x2000 + 1 PBM_SETSTEP = 0x400 + 4 ;) Jonathan, where you have taken these figures? How I can find these conformity itself and answer my question itself? I

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Jonathan Southwick
At 12/1/2003 10:15 AM, Chris wrote: Okay, I need to know how I can specify a custom color for a progress bar, so it can be red or blue, depending on the status of my application. Ive tried to do it by changing the fill and color commands and have had no luck, if anyone knows anything about

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Jonathan Southwick
At 12/2/2003 01:27 AM, Steve Pick wrote: Oh dear. I tried so much to get this to work, mucking about with classes and stuff and I couldn't figure out how. Best way I found is to paint your own damn rectangle using a Graphic object :) I realise that's not ideal, but it's the best solution I've

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Jeremy White
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,

Re: [perl-win32-gui-users] Progress bar's [coloring]

2003-12-23 Thread Левин
$result = SendMessage($hWndControl, PBM_SETBARCOLOR, 0, $color); GOOD! But now, please: PBM_SETBARCOLOR ( 0x400 + 9 ) PBM_SETBKCOLOR(?) PBM_SETSTEP (?) It is a question silly ;) : How I can find itself continuation? Where to