How to draw button in title bar like in Google Chrome?

血红的双手。 提交于 2019-12-21 16:56:16

问题


I tried several components from 2000-2001, but none of them works for win7. How do I do it?


回答1:


If you are looking for a way to make use of glass frame in Windows 7 using Delphi, you can follow this tutorial. There is also an update available dedicated to a 64 bit bug. You can also look at some examples by Chris Rolliston available on embarcadero developer network.




回答2:


Or they probably just draw their own components like a video game would do and they emulated the windows 7 look and feel.




回答3:


You could use rkSmartTabs:

Or IceTabSet:

Finally, check out the answers to these StackOverflow questions:

Google Chrome Tabs Style UI in Delphi

Resources for Windows Aero Glass and Compositing dwm




回答4:


Take a look at my TChromeTabs component (http://code.google.com/p/delphi-chrome-tabs/downloads/list). As well as the Chrome Tabs implementation it includes a TForm descendant that will show you how to draw in an Aero title bar.




回答5:


.NET Framework Windows Vista & 7 Features This maybe



来源:https://stackoverflow.com/questions/4985929/how-to-draw-button-in-title-bar-like-in-google-chrome

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!