介绍 当Windows xp 带着他特有的可视化样式或者主题发布时,许多人为他拥有的华丽界面而兴奋。然而,当.NET1.0正式版本发布的时候,许多人包括我自己为Windows 窗体不支持Windows XP 的可视化样式而失望。我对可视化样式的API函数和微软的.NET框架开发文档进行了一番研究,而后熟悉到为.NET应用程序加上Xp样式也不是很难。
Windows Xp样式的显示原理 简单描述:Comctl32.dll,版本为6。Comctl32.dll,或者那些普通控件使用了很长时间。这个动态连接库被基础控件使用,同时User32.Dll提供给用户控件。在版本6的Comctl32.dll中,所有的控件都放入在里面,因此他们都支持主题。但是新版本的Comctl32.dll不象上一个版本,要使用Windows XP样式,你必须使用包含有Comctl32.dll的操作系统,比如Windows XP。
Heath Stewart is a happily married software engineer originally from Nebraska and a graduate of Iowa State University in Ames, Iowa. With nothing much to do in either state, Heath started programming early in life when gopher ruled and the Internet wasn't commercialized, and enjoys continuous research and development in new languages and frameworks.