hi
i search an example with embedded progressbar in listview
can your help me?
thanks
ragdog
hi
I have come solved!
Now, I have a problem the progressbar not properly displayed.
I have a question how can I control every single progressbar?
greets
ragdog
hi
it works :wink
(http://img245.imageshack.us/img245/3433/progressbarwx8.jpg) (http://imageshack.us)
i dont know how it works with resizetable COLUMN header
that the progressbars become fit to the new size
have your an idea?
ragdog
hi
can your help me with resizetable listview
HDN_BEGINTRACKA or HDN_BEGINTRACKW then you
know that the column is beeing
resized by the user
.elseif uMsg == WM_NOTIFY
mov edi, lParam
mov eax, [edi.NMHDR].hwndFrom
.if eax == [hList]
.if [edi.NMHDR].code == HDN_ENDTRACKA || HDN_ENDTRACKW
call MoveProgress
.endif
.endif
MoveProgress proc
LOCAL rc :RECT
pushad
mov ebx,0
mov rc.top,2
mov rc.left,LVIR_BOUNDS
lea ecx,[ebx]
invoke SendMessage,hList,LVM_GETSUBITEMRECT,ecx,addr rc
mov eax, rc.right
mov edx, rc.bottom
sub eax, rc.left
sub edx, rc.top
invoke GetDlgItem,hList,1
invoke MoveWindow,eax,rc.right,rc.top ,rc.right,12,TRUE
INVOKE UpdateWindow, hList
popad
ret
MoveProgress endp
ragdog
hello
no reply´s(http://www.smilies-and-more.de/pics/kolobok/remake/shok.gif)
i ve got it to that point .. but can someone help me, i stock on it now!
i have searched for examples on inet, but cant find them.
if i move/push the first or second COLUMN it will destroy the progressbar...
i stock on that funktion.
plz, answer if u know that behavior or u have an idea how to fix that...
thanks in forward
best greets
ragdog
can you attach the code?, looks interesting :)
hi
the code works
i have disable resize the colume header
greets
ragdog
[attachment deleted by admin]
Hello,
I have solved the problem.
The progress controls are broken because of the bad styles.
Here are the corrects styles
You have now to resize the progress controls at the same time that the columns.
[attachment deleted by admin]
hi ToutEnMasm
no that was already correctly like that because if I the size changes the 3 column is itself also the size progressvar at the 3 column to resize. i have it the disable it resize the column
or have you an idea to if resize the 3. column then size progressbar to 3. column
thanks in forward
sorry for my bad description
here is a example with resize the column header with resize the progressbar
[attachment deleted by admin]