Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» 修改AAScrollText的一个老问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 修改AAScrollText的一个老问题
skyfreesky
新警察
UID 41509
Digest Posts 0
Credits 5
Posts 1
点点分 5
Reading Access 10
Registered 2008-12-21
Status Offline
#1
Post at 2008-12-21 23:28
Profile
|
Blog
|
P.M.
修改AAScrollText的一个老问题
AAScrollText在滚动几次后,就会莫名其妙的停止,并且控件刷新也不正确。。。这个一个老问题了。在AAFont没有合并到CNPACK之前是没有问题的,合并到CNPACK就有问题,并且一直到现在也没有修改过来,
经检查发现是定时器的问题,由于现在用的是多媒体定时器,而这个定时器是在一个新的线程中运行的。所以在定时事件的代码中有操作UI的地方还是需要进行同步。。
知道原因后,修改就比较简单了。修改TCnTimerMgr类,采用发送消息的方法来调用TCnTimerMgr类的Timer方法。详细的修改请详见附件。。。
Attachment
: [CnTimer]
CnTimer.rar
(2008-12-21 23:28, 4.38 K)
Download count 478
zjy
管理员
UID 2
Digest Posts
6
Credits 2385
Posts 1543
点点分 2385
Reading Access 102
Registered 2002-12-16
Location China
Status Offline
#2
Post at 2008-12-23 10:11
Profile
|
Site
|
Blog
|
P.M.
多谢报告!
CnTimer已经修改了,增加了一个SyncEvent同步属性,晚上回去提交。
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-22 12:13
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.009772 second(s), 8 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats