大龙的博客

常用链接

统计

最新评论

用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转

第一使用界面自绘,所有的界面都需要自己绘制,但是大家一定发现要实现不同的窗体就需要更改源代码重新计算贴图的位置于是就要用到第二种方法脚本技术。
脚本技术,如果你们仔细看过QQ的皮肤就会发现里面有一个vbs(VB的脚本)的文件。界面所有的图片在一个INI或XML中定义,并指定不同的ID。然后载入到程序中并根据ID生成COM组件。把这些组件加入到脚本宿主机中。这样通过COM的事件可以在脚本中重新计算各贴图的位置和大小。这样就不需要更改源码。
http://support.microsoft.com/kb/168214/zh-cn  (脚本宿主技术MFC的,用ATL更方便)很多人都不会该技术,其实微软就有好的示例。至于贴图就看及自己了。

欢迎转载,但请保留出处,本文章转自[华软网] 原文链接:http://www.huarw.com/program/vc/vc01/200805/1585099.html

posted on 2008-05-31 15:58 大龙 阅读(1632) 评论(6)  编辑 收藏 引用

评论

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2010-07-18 12:27 ReillyNADINE

It's great that we are able to get the <a href="http://bestfinance-blog.com/topics/credit-loans">credit loans</a> moreover, that opens up new chances.   回复  更多评论   

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2010-07-21 15:16 dissertation writing

Wow, this admittedly cleared some things up. One essay i am having headache with is a explanation for an "who we are" The teacher says that we will have to jab below into ourselves and pay attention to scan what we really are. But I think it would be more desirableto use thesis.  回复  更多评论   

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2010-07-24 08:27 write my essay

You know that you can to find the cool release just about written essays and even about this post in the reliable writing services. Thence, you have an opportunity to examine that.   回复  更多评论   

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2010-08-04 23:29 online essays

Your topic supposes to be professional, however this could take very long time to accomplish such of online essays for inexperienced people. So the essay writing services can advice to purchase essay under such circumstances.   回复  更多评论   

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2010-08-05 21:05 our services

It is really good selection to opt for the original custom essay just about this good topic to know more really interesting things simply about make an order.   回复  更多评论   

# termpaper 2010-10-14 17:11 termpaper

这是非常好的选择,以选择只是这个好话题作文的原始习俗了解更多关于真正有趣的事情仅仅作出命令。  回复  更多评论   

# re: 用VC如何做 baidu hi,MSN,QQ2009的界面!--------------转 2013-08-25 18:05 this link

Are you hunting where to buy resume paper or where to get CV templates and reliable resume services? Or you just want to order resume from certified resume writers? Merely get in touch with Resume company.  回复  更多评论   


只有注册用户登录后才能发表评论。
网站导航: 博客园   IT新闻   BlogJava   知识库   博问   管理