Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnPack IDE 专家包(CnWizards)
» 风格不统一。
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: 风格不统一。
wenfei
普通灌水员
UID 599
Digest Posts 0
Credits 71
Posts 69
点点分 71
Reading Access 10
Registered 2004-12-7
Status Offline
#1
Post at 2005-4-17 20:20
Profile
|
Blog
|
P.M.
风格不统一。
扩展按钮的风格与XP系统的风格不统一(这样显得不太美观),如图:
Image Attachment
:
Snap1.jpg
(2005-4-17 20:20, 2.76 K)
Image Attachment
:
Snap3.jpg
(2005-4-17 20:20, 6.56 K)
Delphi初学者
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 2005-4-18 16:38
Profile
|
Site
|
Blog
|
P.M.
这个风格确实很难统一
这些按钮都是通过自定义标题栏绘制画出来的。在XP下操作系统支持主题切换,要跟当前主题风格动态地保持一致,估计很难实现:(
Zhou JingYu
CnPack Administrator
http://www.cnpack.org/
wenfei
普通灌水员
UID 599
Digest Posts 0
Credits 71
Posts 69
点点分 71
Reading Access 10
Registered 2004-12-7
Status Offline
#3
Post at 2005-4-18 17:09
Profile
|
Blog
|
P.M.
看来我的要求太高了,呵呵。
[
Last edited by wenfei on 2005-4-18 at 17:10
]
Delphi初学者
shenloqi
灌水处处长
UID 34
Digest Posts
1
Credits 287
Posts 179
点点分 287
Reading Access 10
Registered 2003-3-15
Status Offline
#4
Post at 2005-4-18 17:57
Profile
|
P.M.
delphi7因为引入了Theme支持,所以实现还是可以的,只是烦,可是D5/D6等都是没有theme的,如果要支持就不容易了。
ccceee
新警察
UID 816
Digest Posts
1
Credits 24
Posts 14
点点分 24
Reading Access 10
Registered 2005-5-3
Status Offline
#5
Post at 2005-5-3 10:43
Profile
|
Blog
|
P.M.
QUOTE:
Originally posted by
shenloqi
at 2005-4-18 05:57 PM:
delphi7因为引入了Theme支持,所以实现还是可以的,只是烦,可是D5/D6等都是没有theme的,如果要支持就不容易了。
D6/D5加个manifest就有Theme了。 不过这些是画出来的。
flamingo
新警察
UID 179
Digest Posts 0
Credits 39
Posts 39
点点分 39
Reading Access 10
Registered 2003-10-12
Status Offline
#6
Post at 2005-5-14 22:15
Profile
|
Blog
|
P.M.
在按钮画的方法里判断Theme服务是否可用,如果可用就调用Theme服务元素,不可用照旧。MS
确保这样的代码没有毒副作用,在任何系统上都正常。事实上证明确实这样。所以,还是建议
改一改吧。
softsword
普通灌水员
UID 452
Digest Posts 0
Credits 95
Posts 95
点点分 95
Reading Access 10
Registered 2004-7-13
Location 北京
Status Offline
#7
Post at 2005-5-16 17:43
Profile
|
Blog
|
P.M.
那么请问 flamingo,本来在 2000 下面是可以画出按钮的,而且结合非常好。
按照你的意思,岂不是只有 XP 和 2003 才能用??
flamingo
新警察
UID 179
Digest Posts 0
Credits 39
Posts 39
点点分 39
Reading Access 10
Registered 2003-10-12
Status Offline
#8
Post at 2005-5-16 20:29
Profile
|
Blog
|
P.M.
不是,只是对Delphi版本有要求,对Windows版本没有影响。因为ThemeServices只在Delphi6更高版本
才有,所以需要增加{$IFDEF ...}等编译指令加以区别,这个编译指令在CnPack是有统一规定的,最
常见、用得最多的是JEDI.inc,所以你提的问题不会出现。就是说,增加了这个功能,Win2K照样能运
行得很好,原来怎么样现在还怎么样。
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-23 00:08
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008116 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