|
|
|
|
#1 |
|
Junior Member
Join Date: Oct 2005
Posts: 5
|
I'm trying to add text in ListBox in Leave page. The ListBox is not getting refreshed. If I use abort or MessageBox followed by it, then I can see the refreshed content.
Is there a way I can refresh the newly added text? I tried ShowWindow {SW_HIDE} and {SW_SHOW}, but the hidden window never comes back. Here is the snippet Function tempProgressLeave ; disable back button before showing the progress GetDlgItem $0 $HWNDPARENT 3 EnableWindow $0 0 ; disable next button GetDlgItem $0 $HWNDPARENT 1 EnableWindow $0 0 FindWindow $1 "#32770" "" $HWNDPARENT GetDlgItem $0 $1 1202 StrCpy $2 0 StrCpy $vard "hello world" loopd: IntOp $2 $2 + 10 ;here the progressbar increases ;MessageBOX MB_OK "hello ${SW_SHOW} ${SW_HIDE}" ShowWindow $0 ${SW_HIDE} SendMessage $0 ${LB_ADDSTRING} "" "STR: $2:$vard" ShowWindow $0 ${SW_SHOW} IntCmp $2 100 loopd loopd Sleep 5000 FunctionEnd |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|