Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» TCnTrayIcon.Hint问题
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: TCnTrayIcon.Hint问题
codemaster
新警察
UID 361105
Digest Posts 0
Credits 30
Posts 10
点点分 30
Reading Access 10
Registered 2016-11-15
Status Offline
#1
Post at 2020-4-14 22:24
Profile
|
Blog
|
P.M.
TCnTrayIcon.Hint问题
Hint字符串长了显示不全,看了下源码,我觉得有两个地方:
1、TCnTrayIcon中FIconData的声明应该是TNotifyIconDataA; //原先不是A
2、UpdateNotifyData中
[Copy to clipboard]
CODE:
CopyMemory(@FIconData.szTip, Pointer(ShortHint), 127);//原先63
请核实!
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2020-5-20 16:12
Profile
|
Blog
|
P.M.
感谢支持,在D2007或以下,TNotifyIconData就等同于是TNotifyIconDataA。
在D2009或以上的Unicode环境中,TNotifyIconData是TNotifyIconDataW。
我参考你的内容针对Unicode的情况修正了一下,目前已提交git,可下过来验证一下。
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 00:21
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.012517 second(s), 9 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