[問題] BCB的ProgressBar跑不滿

看板C_and_CPP (C/C++)作者 (nola)時間14年前 (2012/04/24 17:58), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
開發平台(Platform): (Ex: VC++, GCC, Linux, ...) BCB 額外使用到的函數庫(Library Used): (Ex: OpenGL, ...) 問題(Question): 每當 progressbar 跑到 max 要重跑時, progressbar 未滿 不論 progressbar 的長度設多少, 一定都會剩一點 錯誤結果(Wrong Output): http://nola1723.pixnet.net/album/photo/28651046 程式碼(Code):(請善用置底文網頁, 記得排版) http://codepad.org/1n4dBW4C search(): 顯示 frm convertxxx(): 啟動 thread, 並讓frm的timer開始執行 progressbar->Add Form(): 設定 progressbar 相關參數 Add(): 使 progressbar 前進 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.120.188.59

04/24 18:20, , 1F
tmr1Timer()裡加一個Sleep(100);看看@@
04/24 18:20, 1F

04/24 21:00, , 2F
line 48 >= 改成 >
04/24 21:00, 2F

04/25 09:45, , 3F
改成 > 後不會動了... 一直停在 max
04/25 09:45, 3F
文章代碼(AID): #1Fbdb1Ix (C_and_CPP)
文章代碼(AID): #1Fbdb1Ix (C_and_CPP)