I saw some gradient-related posts recently and I though I should share my little contribution. It's poorly coded but will work.
;=============================================================================== ; ; Description: Functions to create/update gradient-filled, colored progress ; bar. ; ; Syntax: ; _GProgressOn($sTitle, $hxStartColor, $hxEndColor, ; $sMainText = "Progress Bar", $sSubText = "", ; $iXpos = "", $iYpos = "", $iOntop = 0) ; ; _GProgressSet($iProgress, $sMainText = "", $sSubText = "") ; ; _GProgressOff() ; ; _GUICtrlCreateGProgress($hxStartColor, $hxEndColor, $iXpos, ; $iYpos, $iWidth, $iHeight) ; ; _GuiCtrlSetGProgress($gBar, $sWindowTitle, $iProgress) ;===============================================================================oÝ÷ ØÃE8H4"ÔAH,A1jjezÆ®¶sb6æ6ÇVFRgV÷C¶w&Eö&'2æS2gV÷C° ¢7&VvöâUÕÄU0 £´UÕÄR¢w&FVçB&öw&W74öâWׯP¥ôu&öw&W74öâgV÷Cµôu&öw&W74öâWׯRgV÷C²ÂsdTSÂ3dTRÂgV÷C´ÖâFWBgV÷C²ÂgV÷Cµ7V%FWBgV÷C²¤f÷"b33c·ÒFò7FW ôu&öw&W756WBb33c·ÂgV÷C´ÖâFWBWW&RgV÷C²ÂgV÷Cµ7V"FWBF÷vâW&S¢gV÷C²fײb33c·fײgV÷C²RgV÷C² 6ÆVWsR¤æW@¤×6t&÷CÂgV÷C´FöæRb333²gV÷C²ÂgV÷C´FöæRb333²gV÷C²¥ôu&öw&W74öfb £´UÕÄR#¢w&FVçBuT7G&Ä7&VFU&öw&W72WׯP¢b33c·5væF÷uFFÆRÒgV÷CµôwV7G&Ä7&VFTu&öw&W72WׯRgV÷C°¢b33c¶f÷&ÓÒuT7&VFRb33c·5væF÷uFFÆRÂ##ÂsR¢b33c¶v&"ÒôuT7G&Ä7&VFTu&öw&W72sdTSÂ3dTRÂÂÂ#ÂC¤uT6WE7FFR ¤f÷"b33c·ÒFò ôwV7G&Å6WDu&öw&W72b33c¶v&"Âb33c·5væF÷uFFÆRÂb33c· 6ÆVWsR¤æW@¤×6t&÷CÂgV÷C´FöæRb333²gV÷C²ÂgV÷C´FöæRb333²gV÷C² ¢6VæG&Vvöà
_GProgressOn:

_GuiCtrlCreateGProgress:

Note: Use only one bar at a time.
Thanks to cyberslug for the gradient code from an old post.
UPDATE: Changed variable declarations. Thanks RazerM.
Also, I forgot to mention that the bars DO NOT FLICKER as they update! Try it out.
Attached Files
Edited by syberschmo, 17 September 2006 - 06:04 PM.






