何时使用 DwmExtendFrameIntoClientArea?
众所周知,一些现代应用程序(IE9、Firefox 4、Chrome、Paint.NET 等)使用 DwmExtendFrameIntoClientArea 来实现 Aero 玻璃效果。
但是,您真正应该将其用于什么类型的应用程序呢?对于浏览器,我可以理解尽可能减少无关空间,但实际上,有什么意义?为什么不直接创建没有框架的窗口(就像 Google Chrome 在 DWM 不存在时所做的那样)?我只是在寻找一些关于什么类型的应用程序应该使用此效果以及何时使用的粗略指南。
As we know, several modern applications (IE9, Firefox 4, Chrome, Paint.NET, etc.) use DwmExtendFrameIntoClientArea for the Aero glass effect.
What type of applications should you really use this for, though? For browsers I can understand minimizing as much extraneous space as possible, but really, what's the point? Why not just create the window without a frame (like Google Chrome does when DWM is not present)? I'm just looking for some rough guidelines on what type of applications should use this effect and when.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,由于这纯粹是一种视觉上的养眼之类的事情,所以你更多地要求的是主观意见。不过,首先请查看Windows 用户体验交互指南。
就我个人而言,我喜欢 Outlook 2010,其中选项卡标签位于玻璃背景上 - 我喜欢桌面(或后面的窗口)上的背景图像渗透进来。我认为这给人的印象是窗口并没有占据我的工作空间太多。我也喜欢 Chrome,它使用玻璃作为标签空间。
我不喜欢 Windows Media Player,因为控件位于玻璃上 - 这使得它们在繁忙的背景下显得很忙。我也不喜欢“添加小工具”窗口,出于同样的原因,整个窗口都是玻璃的(尽管更模糊)。
因此,选择您的设计理念并保持一致。我个人的选择是允许玻璃出现在主要是文本和统一的窗口方面,而不是交互的主要焦点。在“繁忙”且互动频繁的区域,我不喜欢在后面有玻璃。
Well, as this is purely a visual eye-candy type of thing, you're asking more for subjective opinion than anything else. First, check out the Windows User Experience Interaction Guidelines, though.
Personally, I like Outlook 2010, where the tab labels are on a glass background - I like the background image on my desktop (or windows behind) seeping through. I think it gives the impression that the window is not taking up quite so much of my workspace. I also love Chrome and it's use of glass for tab space.
I don't like windows media player where the controls are on glass - it makes them seem busy on a busy background. I also don't like the Add Gadget window, where the whole thing is glass (although more blurry) for the same reason.
So pick your design ideals and keep it consistent. My personal pick is to allow glass to come in on windows aspects that are mostly text and uniform, and not the main focus of interaction. On things that are "busy" and are high interaction areas, I dislike having glass behind.