Jump to content

ListView_Progress


rasim
 Share

Recommended Posts

Hi all! This is my first UDF and if anyone will found a bug in this UDF or have any ideas about improvement, that posting your message. :)

Posted Image

Edit: Updated as advise arcker :(

Edit: Fixed bug.

2008.10.06

Added a _Progress_Delete function, thanks to MrCreatoR.

2008.10.07

Many bugs are fixed.

Reduced CPU usage (little).

2008.10.08

Changed code algorithm.

Reduced CPU usage.

2008.10.09

Fully code rewrited.

Code optimized.

Some bugs fixed.

ListView_with_ProgressBar.zip

Edited by rasim
Link to comment
Share on other sites

  • Replies 49
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Issues if there is a need to scroll + it slows down the listview like 100 times normal...

but nice script !!!

who knows maybe someday jon & garry will implement such an option into autoit and we'll all be happy :)

[u]My Au3 Scripts:[/u]____________(E)Lephant, A Share download manager (RS/MU etc)Http1.1 Console, The Ez Way!Internet Reconnection Automation Suite & A Macro Recording Tool.SK's Alarm Clock, Playing '.MP3 & .Wav' Files._________________Is GOD a mistake of the Humanity Or the Humanity is a mistake of GOD ?!

Link to comment
Share on other sites

Wow right when i was needing this i find it great work!

[quote name='PsaltyDS' post='635433' date='Jan 27 2009, 07:04 AM']Larry is a mass murderer?! It's always the quiet, clean cut, bald guys... [/quote]

Link to comment
Share on other sites

here are some features that i've added

fortunately i often use PaulIA progress bar functions.

My method doesn't use any of autoit gui function, juste API

it permits to bypass ctrlgethandle and _WinApi_SetParent.

here is the code :

Example

#include <GUIConstants.au3>
#include <GuiListView.au3>
#include <ListView_Progress.au3>

Global $iProgress = 0

$hGui = GUICreate("ListView with progressbar", 420, 280, -1, -1, BitOR($GUI_SS_DEFAULT_GUI, $WS_SIZEBOX))

$hListView = GUICtrlCreateListView("Files|Path|Progress", 10, 10, 400, 240, BitOR($LVS_REPORT, $WS_BORDER))

_GUICtrlListView_BeginUpdate($hListView)

_GUICtrlListView_SetColumnWidth($hListView, 0, 100)
_GUICtrlListView_SetColumnWidth($hListView, 1, 140)
_GUICtrlListView_SetColumnWidth($hListView, 2, 150)

_GUICtrlListView_AddItem($hListView, "AutoIT")
_GUICtrlListView_AddItem($hListView, "Opera")
_GUICtrlListView_AddItem($hListView, "Script")
_GUICtrlListView_AddItem($hListView, "Work")
_GUICtrlListView_AddItem($hListView, "New")
_GUICtrlListView_AddItem($hListView, "Test")
_GUICtrlListView_AddItem($hListView, "Image")
_GUICtrlListView_AddItem($hListView, "Soft")
_GUICtrlListView_AddItem($hListView, "News")
_GUICtrlListView_AddItem($hListView, "Info")

_GUICtrlListView_AddSubItem($hListView, 0, "C:\Program Files\AutoIt3", 1)
_GUICtrlListView_AddSubItem($hListView, 1, "C:\Program Files\Opera", 1)
_GUICtrlListView_AddSubItem($hListView, 2, "C:\MyScript\Work", 1)
_GUICtrlListView_AddSubItem($hListView, 3, "C:\New\Script", 1)
_GUICtrlListView_AddSubItem($hListView, 4, "C:\Image\Image", 1)
_GUICtrlListView_AddSubItem($hListView, 5, "C:\Soft\New", 1)
_GUICtrlListView_AddSubItem($hListView, 6, "C:\Music\Info", 1)
_GUICtrlListView_AddSubItem($hListView, 7, "C:\Video\Soft", 1)
_GUICtrlListView_AddSubItem($hListView, 8, "C:\Project\Script", 1)
_GUICtrlListView_AddSubItem($hListView, 9, "C:\Work\Script", 1)

_GUICtrlListView_EndUpdate($hListView)

$hProgress1  = _ListView_InsertProgressBar($hListView, 0, 2)
_Progress_SetBarColor($hProgress1,0xFF0000)
$hProgress2  = _ListView_InsertProgressBar($hListView, 1, 2)
_Progress_SetBarColor($hProgress2,0x00FF00)
$hProgress3  = _ListView_InsertProgressBar($hListView, 2, 2)
_Progress_SetBarColor($hProgress3,0x0000FF)
$hProgress4  = _ListView_InsertProgressBar($hListView, 3, 2)
_Progress_SetBkColor($hProgress3,0xFF00FF)
$hProgress5  = _ListView_InsertProgressBar($hListView, 4, 2)
_Progress_SetStep($hProgress5,34)
$hProgress6  = _ListView_InsertProgressBar($hListView, 5, 2)
$hProgress7  = _ListView_InsertProgressBar($hListView, 6, 2)
$hProgress8  = _ListView_InsertProgressBar($hListView, 7, 2)
$hProgress9  = _ListView_InsertProgressBar($hListView, 8, 2)
$hProgress10 = _ListView_InsertProgressBar($hListView, 9, 2)

GUISetState()

AdlibEnable("_Progress",100)

Do
Until GUIGetMsg() = $GUI_EVENT_CLOSE

Func _Progress()
    If $iProgress = 100 Then $iProgress = 0
    $iProgress += 10
    ;sleep(100)
    _Progress_SetPos($hProgress1, $iProgress + 10)
    _Progress_SetPos($hProgress2, $iProgress)
    _Progress_SetPos($hProgress9, $iProgress)
    _Progress_SetPos($hProgress3, $iProgress)
    _Progress_StepIt($hProgress5)
EndFunc   ;==>_ProgressoÝ÷ ٩ݶ®¥Ö­yÕ«­¢+Ø¥¹±Õµ½¹(¥¹±Õ±ÐíU%
½¹ÍѹÑ̹ÔÌÐì(¥¹±Õ±Ðí]¥¹A$¹ÔÌÐì(¥¹±Õ±ÐíÕ¥1¥ÍÑY¥Ü¹ÔÌÐì()±½°ÀÌØíAɽÉÍÍlÅulÉt)±½°ÀÌØí1Y}¡]¹)±½°ÀÌØí%ѵ%¹à)±½°ÀÌØíMÕ%ѵ%¹à()U%I¥ÍÑÉ5Í ÀÌØí]5}9=Q%d°ÅÕ½Ðí1Y}9=Q%dÅÕ½Ðì¤((((ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô((ì(ìչѥ½¸9µè}1¥ÍÑY¥Ý}%¹ÍÉÑAɽÉÍÍ È ¤(ìÍÉ¥ÁÑ¥½¸è%¹ÍÉÑÌÁɽÉÍÍȽ¹Ñɽ°¥¸Ñ¡1¥ÍÑY¥Ü½¹Ñɽ°¸(ìMå¹Ñุ¸¸¸¸¸¸¸è}1¥ÍÑY¥Ý}%¹ÍÉÑAɽÉÍÍ È ÀÌØíÍ!ݹ°ÀÌØíÍ%ѵ%¹ál°ÀÌØíÍMÕ%ѵ%¹át¤(ìAɵÑȡ̤èÀÌØíÍ!ݹ´!¹±Ñ¼Ñ¡1¥ÍÑY¥Ü½¹Ñɽ°¸(ìÀÌØíÍ%ѵ%¹à´iɼͥ¹à½Ñ¡¥Ñ´ÐÝ¡¥ Ñ¡ÁɽÉÍÍÈÍ¡½Õ±¥¹ÍÉѸ(ìÀÌØíÍMÕ%ѵ%¹à´m=ÁÑ¥½¹±t=¹Í¥¹à½Ñ¡ÍեѴݡÉÁɽÉÍÍÈÍ¡½Õ±Á±°(ì­Õ±Ð¥Ìĸ(ì(ìIÑÕɸY±Õ¡Ì¤èIÑÕɹÌÑ¡¥¹Ñ¥¥È¡½¹Ñɽ±%¤½Ñ¡¹ÜÁɽÉÍÍȽ¹Ñɽ°¸(ìIÅեɵ¹Ð¡Ì¤èÕѽ%Ð̸ȸÄÀ¸À(ì9½Ñ¡Ì¤è=ÁÑ¥µ°µ½Õ¹Ð½ÁɽÉÍÍȽ¹Ñɽ±Ì¥ÌÔ´ÄÀ¸½¸äØíÐÕÍÝ¥Ñ µ¹äµ½Õ¹Ð½ÁɽÉÍÍȽ¹Ñɽ±Ì¸(ì(ìÕÑ¡½È¡Ì¤èH¹¥±µ¸¡¹¬¹ÉÍ¥´¤(ì(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô()Õ¹}1¥ÍÑY¥Ý}%¹ÍÉÑAɽÉÍÍ È ÀÌØíÍ!ݹ°ÀÌØíÍ%ѵ%¹à°ÀÌØíÍMÕ%ѵ%¹àôĤ((%9½Ð%Í!]¹ ÀÌØíÍ!ݹ¤Q¡¸(ÀÌØí1Y}¡]¹ôU%
ÑɱÑ!¹± ÀÌØíÍ!ݹ¤(±Í(ÀÌØí1Y}¡]¹ôÀÌØíÍ!ݹ(¹%((1½°ÀÌØí¥MÑå±ô}]¥¹A%}Ñ]¥¹½Ý1½¹ ÀÌØí1Y}¡]¹°ÀÌØí]1}MQe1¤((}]¥¹A%}]¥¹½Ý1½¹ ÀÌØí1Y}¡]¹°    ¥Ñ=H ÀÌØí¥MÑå±°ÀÌØí]M}
1%A
!%1I8¤°ÀÌØí¥MÑ層((ÀÌØí%ѵ%¹àôÀÌØíÍ%ѵ%¹à(ÀÌØíMÕ%ѵ%¹àôÀÌØíÍMÕ%ѵ%¹à((1½°ÀÌØíIÐô}U%
Ñɱ1¥ÍÑY¥Ý}ÑMÕ%ѵIÐ ÀÌØí1Y}¡]¹°ÀÌØí%ѵ%¹à°ÀÌØíMÕ%ѵ%¹à¤(($(ÀÌØíAɽÉÍÍlÁulÁt¬ôÄ(I¥´ÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁt¬ÅulÉt(ÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁuulÁtô}AɽÉÍÍ}
ÉÑ ÀÌØí1Y}¡]¹°ÀÌØíIÑlÁt°ÀÌØíIÑlÅt°|(ÀÌØíIÑlÉt´ÀÌØíIÑlÁt°ÀÌØíIÑlÍt´ÀÌØíIÑlÅt¤((ÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁuulÅtôÀÌØí%ѵ%¹à((íU%
ÑɱMÑIͥ饹 ÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁuulÁt°ÀÌØíU%}=
-10¤(í}MÑAɹРÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁuulÁt°ÀÌØí1Y}¡]¹¤(IÑÕɸÀÌØíAɽÉÍÍlÀÌØíAɽÉÍÍlÁulÁuulÁt)¹Õ¹ìôôÐí}1¥ÍÑY¥Ý}%¹ÍÉÑAɽÉÍÍ   È()Õ¹}MÑAɹРÀÌØíÍ
¡¥±°ÀÌØíÍAɹФ(1½°ÀÌØí¡
¡¥±ôU%
ÑɱÑ!¹± ÀÌØíÍ
¡¥±¤((}]¥¹A%}MÑAɹРÀÌØí¡
¡¥±°ÀÌØíÍAɹФ)¹Õ¹ìôôÐí}MÑAɹÐ()Õ¹}AɽÉÍÍ}
ÉÑ ÀÌØí¡]¹°ÀÌØí¥`°ÀÌØí¥d°ÀÌØí¥]¥Ñ ô´Ä°ÀÌØí¥!¥¡Ðô´Ä°ÀÌØí¥MÑå±ôÀ°ÀÌØí¥áMÑå±ôÀ¤(¥  ¥Ñ9 ÀÌØí¥MÑå±°ÀÌØíA  M}YIQ%
0¤ôÀÑ¡¸(¥ÀÌØí¥!¥¡Ðô´ÄÑ¡¸ÀÌØí¥!¥¡Ðô}]¥¹A%}ÑMåÍѵ5ÑÉ¥Ì ÀÌØíM5}
eYM
I=10¤(¥ÀÌØí¥]¥Ñ ô´ÄÑ¡¸ÀÌØí¥]¥Ñ ôÄÔÀ(±Í(¥ÀÌØí¥!¥¡Ðô´ÄÑ¡¸ÀÌØí¥!¥¡ÐôÄÔÀ(¥ÀÌØí¥]¥Ñ ô´ÄÑ¡¸ÀÌØí¥]¥Ñ ô}]¥¹A%}ÑMåÍѵ5ÑÉ¥Ì ÀÌØíM5}
aYM
I=10¤(¹¥(ÀÌØí¥MÑå±ô ¥Ñ=H ÀÌØí¥MÑå±°ÀÌØí]M}
!%1°ÀÌØí]M}Y%M%    1¤(IÑÕɸ}]¥¹A%}
ÉÑ]¥¹½Ýà ÀÌØí¥áMÑå±°ÅÕ½ÐíµÍѱÍ}ÁɽÉÍÌÌÈÅÕ½Ðì°ÅÕ½ÐìÅÕ½Ðì°ÀÌØí¥MÑå±°ÀÌØí¥`°ÀÌØí¥d°ÀÌØí¥]¥Ñ °ÀÌØí¥!¥¡Ð°ÀÌØí¡]¹¤)¹Õ¹()Õ¹1Y}9=Q%d ÀÌØí¡]¹°ÀÌØí5Í°ÀÌØíÝAÉ´°ÀÌØí±AÉ´¤(1½°ÀÌØíÑ95!H°ÀÌØí¥
½((ÀÌØíÑ95!Hô±±MÑÉÕÑ
ÉÑ ÀÌØíÑ95!H°ÀÌØí±AÉ´¤(ÀÌØí¥
½ô±±MÑÉÕÑÑÑ ÀÌØíÑ95!H°ÅÕ½Ðí
½ÅÕ½Ðì¤((% ÀÌØí¥
½ô´ÄȤ=È ÀÌØí¥
½ô´Äؤ=È ÀÌØí¥
½ô´ÌÈܤQ¡¸(½ÈÀÌØí¤ôÄQ¼ÀÌØíAɽÉÍÍlÁulÁt(}5½ÙAɽÉÍÌ ÀÌØí¤°ÀÌØíAɽÉÍÍlÀÌØí¥ulÅt°ÀÌØíMÕ%ѵ%¹à¤(9áÐ(¹%((IÑÕɸÀÌØíU%}IU95M)¹Õ¹ìôôÐí1Y}9=Q%d()Õ¹}5½ÙAɽÉÍÌ ÀÌØíÍAɽ%°ÀÌØíÍ%ѵ%¹à°ÀÌØíÍMÕ%ѵ%¹à¤(1½°ÀÌØíIÐô}U%
Ñɱ1¥ÍÑY¥Ý}ÑMÕ%ѵIÐ ÀÌØí1Y}¡]¹°ÀÌØíÍ%ѵ%¹à°ÀÌØíÍMÕ%ѵ%¹à¤((}]¥¹A%}5½Ù]¥¹½Ü ÀÌØíAɽÉÍÍlÀÌØíÍAɽ%ulÁt°ÀÌØíIÑlÁt°ÀÌØíIÑlÅt°|(ÀÌØíIÑlÉt´ÀÌØíIÑlÁt°ÀÌØíIÑlÍt´ÀÌØíIÑlÅt°QÉÕ¤((}]¥¹A%}IÉÝ]¥¹½Ü ÀÌØíAɽÉÍÍlÀÌØíÍAɽ%ulÁt°À°À°ÀÌØíI]}%9Y1%Q¤)¹Õ¹ìôôÐí}5½ÙAɽÉÍÌ((ìU9
Q%=8ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÍÉ¥ÁÑ¥½¸¸¸¸èMÑÌÑ¡½±½È½Ñ¡¥¹¥Ñ½ÈÈ(ìAɵÑÉ̸¸¸¸èÀÌØí¡]¹´!¹±Ñ¼Ñ¡½¹Ñɽ°(ìÀÌØí¥
½±½È´Q¡¹ÜÁɽÉÍÌ¥¹¥Ñ½ÈȽ±½È¸MÁ¥äÑ¡
1I}U1PÙ±ÕѼÕÍÑ¡ÁɽÉÍÌÈ(ì­Ñ¼ÕÍ¥ÑÌÕ±ÐÁɽÉÍÌ¥¹¥Ñ½ÈȽ±½È¸(ìIÑÕɸٱÕ̸èMÕÍÌ´Q¡ÁÉÙ¥½ÕÌÁɽÉÍÌ¥¹¥Ñ½ÈȽ±½È°½È
1I}U1P¥Ñ¡ÁɽÉÍÌ¥¹¥Ñ½ÈȽ±½È(ì­¥Ìѡձн±½È¸(ìÕÑ¡½È¸¸¸¸¸¸¸¸èAÕ°
µÁ±°¡AÕ±%¤°UÁÑ   äÉ­È(ìIµÉ­Ì¸¸¸¸¸¸¸èQ¡¥ÌµÍÍ¥ÌÍÕÁÁ½Éѽ¹±ä¥¸Ñ¡]¥¹½ÝÌ
±Íͥѡµ(ìI±Ñ¸¸¸¸¸¸¸è(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}AɽÉÍÍ}MÑ    É
½±½È ÀÌØí¡]¹°ÀÌØí¥
½±½È¤(IÑÕɸ}5ÍÍ ÀÌØí¡]¹°ÀÌØíA  5}MQ    I
=1=H°À°ÀÌØí¥
½±½È¤)¹Õ¹(ìU9
Q%=8ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÍÉ¥ÁÑ¥½¸¸¸¸èMÑÌÑ¡ÕÉɹÐÁ½Í¥Ñ¥½¸(ìAɵÑÉ̸¸¸¸èÀÌØí¡]¹´!¹±Ñ¼Ñ¡½¹Ñɽ°(ìÀÌØí¥A½Ì´Q¡¹ÜÁ½Í¥Ñ¥½¸(ìIÑÕɸٱÕ̸èMÕÍÌ´Q¡ÁÉÙ¥½ÕÌÁ½Í¥Ñ¥½¸(ìÕÑ¡½È¸¸¸¸¸¸¸¸èAÕ°
µÁ±°¡AÕ±%¤°UÁÑ   äÉ­È(ìIµÉ­Ì¸¸¸¸¸¸¸è(ìI±Ñ¸¸¸¸¸¸¸è}AɽÉÍÍ}ÑA½Ì(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}AɽÉÍÍ}MÑA½Ì ÀÌØí¡]¹°ÀÌØí¥A½Ì¤(IÑÕɸ}5ÍÍ ÀÌØí¡]¹°ÀÌØíA    5}MQA=L°ÀÌØí¥A½Ì°À¤)¹Õ¹(ìU9
Q%=8ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÍÉ¥ÁÑ¥½¸¸¸¸èMÑÌÑ¡­É½Õ¹½±½È¥¸Ñ¡ÁɽÉÍÌÈ(ìAɵÑÉ̸¸¸¸èÀÌØí¡]¹´!¹±Ñ¼Ñ¡½¹Ñɽ°(ìÀÌØí¥
½±½È´Q¡¹Ü­É½Õ¹½±½È¸MÁ¥äÑ¡
1I}U1PÙ±ÕѼÕÍÑ¡ÁɽÉÍÌÈѼÕÍ¥ÑÌ(ì­Õ±Ð­É½Õ¹½±½È¸(ìIÑÕɸٱÕ̸èMÕÍÌ´Q¡ÁÉÙ¥½Õ̭ɽչ½±½È°½È
1I}U1P¥Ñ¡­É½Õ¹½±½È¥Ìѡձн±½È¸(ìÕÑ¡½È¸¸¸¸¸¸¸¸èAÕ°
µÁ±°¡AÕ±%¤°UÁÑ   äÉ­È(ìIµÉ­Ì¸¸¸¸¸¸¸èQ¡¥ÌµÍÍ¥ÌÍÕÁÁ½Éѽ¹±ä¥¸Ñ¡]¥¹½ÝÌ
±Íͥѡµ(ìI±Ñ¸¸¸¸¸¸¸è(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}AɽÉÍÍ}MÑ    ­
½±½È ÀÌØí¡]¹°ÀÌØí¥
½±½È¤(IÑÕɸ}5ÍÍ ÀÌØí¡]¹°ÀÌØíA  5}MQ    -
=1=H°À°ÀÌØí¥
½±½È¤)¹Õ¹(ìU9
Q%=8ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÍÉ¥ÁÑ¥½¸¸¸¸èMÁ¥¥ÌÑ¡ÍÑÀ¥¹Éµ¹Ð(ìAɵÑÉ̸¸¸¸èÀÌØí¡]¹´!¹±Ñ¼Ñ¡½¹Ñɽ°(ìÀÌØí¥MÑÀ´MÑÀ¥¹Éµ¹Ð¸(ìIÑÕɸٱÕ̸èMÕÍÌ´Q¡ÁÉÙ¥½ÕÌÍÑÀ¥¹Éµ¹Ð(ìÕÑ¡½È¸¸¸¸¸¸¸¸èAÕ°
µÁ±°¡AÕ±%¤(ìIµÉ­Ì¸¸¸¸¸¸¸èQ¡ÍÑÀ¥¹Éµ¹Ð¥ÌÑ¡µ½Õ¹ÐäÝ¡¥ Ñ¡ÁɽÉÍÌÈ¥¹ÉÍÌ¥ÑÌÕÉɹÐÁ½Í¥Ñ¥½¸Ý¡¹ÙÈå½ÔÕÍÑ¡(ì}AɽÉÍÍ}MÑÁ%Ðչѥ½¸¸    äձаѡÍÑÀ¥¹Éµ¹Ð¥ÌÍÐѼÄÀ¸(ìI±Ñ¸¸¸¸¸¸¸è}AɽÉÍÍ}MÑÁ%Ð(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}AɽÉÍÍ}MÑMÑÀ ÀÌØí¡]¹°ÀÌØí¥MÑÀôÄÀ¤(IÑÕɸ}5ÍÍ ÀÌØí¡]¹°ÀÌØíA   5}MQMQ@°ÀÌØí¥MÑÀ°À¤)¹Õ¹(ìU9
Q%=8ôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô(ìÍÉ¥ÁÑ¥½¸¸¸¸èÙ¹ÌÑ¡ÕÉɹÐÁ½Í¥Ñ¥½¸äÑ¡ÍÑÀ¥¹Éµ¹Ð(ìAɵÑÉ̸¸¸¸èÀÌØí¡]¹´!¹±Ñ¼Ñ¡½¹Ñɽ°(ìIÑÕɸٱÕ̸èMÕÍÌ´Q¡ÁÉÙ¥½ÕÌÁ½Í¥Ñ¥½¸(ìÕÑ¡½È¸¸¸¸¸¸¸¸èAÕ°
µÁ±°¡AÕ±%¤°UÁÑ   äÉ­È(ìIµÉ­Ì¸¸¸¸¸¸¸è(ìI±Ñ¸¸¸¸¸¸¸è}AɽÉÍÍ}MÑMÑÀ(ìôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôôô)Õ¹}AɽÉÍÍ}MÑÁ%Ð ÀÌØí¡]¹¤(IÑÕɸ}5ÍÍ ÀÌØí¡]¹°ÀÌØíA    5}MQA%P°À°À¤)¹Õ¹
Edited by arcker

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]
Link to comment
Share on other sites

arcker

Wow! This great! Thank you! I update the first post. :) Now you coauthor :(

But i don`t understand why need this:

If BitAND($iStyle, $PBS_VERTICAL) = 0 Then
        If $iHeight = -1 Then $iHeight = _WinAPI_GetSystemMetrics($SM_CYVSCROLL)
        If $iWidth  = -1 Then $iWidth  = 150
    Else
        If $iHeight = -1 Then $iHeight = 150
        If $iWidth  = -1 Then $iWidth  = _WinAPI_GetSystemMetrics($SM_CXVSCROLL)
    Endif

Script work fine without this part.

Link to comment
Share on other sites

erf yes

effectively, this part of script is when you create a vertical progress bar

PaulIA have added getsystemmetrics to set default width when you create without specifying this.

it uses the default system size for vertical scroll bar

so, yes, not needed here.

thx for the quote :)

the best listview that i have seen are in EmuleMorph P2P program. it uses progress bar with multicolor parts in listviews . Really amazing.

-- Arck System _ Soon -- Ideas make everything

"La critique est facile, l'art est difficile"

Projects :

[list] [*]Au3Service : Run your exe as service V3 / Updated 29/07/2013 Get it Here [/list]
Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...