问题标签 [aero-glass]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
vb.net - DwmExtendFrameIntoClientArea Not working the same on Vista
Ive been using the class Glass_full from here: http://www.dreamincode.net/forums/topic/146813-glass-form-dwmapidll-api/
It works fine on Windows 7. Ive even managed to find a easy workaround for the text issue. I solved this by using a custom color for backcolor and transparencyKey on the form (Color is rgb 1,2,3) This works fine on 7 but when the same code is ran on Vista it doesnt render the glass.
I can render the glass with backcolor black, and transparencyKey works to make the form completely transparent, but when combined like i did on 7, the glass doesnt render. (I get rgb 1,2,3 for a background)
I tried adding a propertyGrid to a form and using it to set the backcolor and transparencyKeys for testing but DWM would crash when i set transparencykey to the same as backcolor.
Is there any way of fixing this?
c# - 扩展玻璃区域中未引发点击事件?
所以我只是使用 DwmExtendFrameIntoClientArea(Vista / 7 Aero 的东西)将表单的玻璃区域扩展到客户区域。
我已经在覆盖 Form 类方法 OnMouseDown() 中发送了一条 Windows 消息,导致窗口可以随玻璃区域移动,如此处所述使无边框表单可移动?.
但是,正因为如此,当单击展开的玻璃区域时,我没有收到任何表单 Click / MouseClick / DoubleClick 等事件。
当我双击顶部展开的玻璃区域时,我实际上希望表单最大化,就像普通的标题栏一样。
这是表单继承类的代码:
有什么办法可以让它工作吗?
delphi - 如何绘制像 yahoo messenger 11 这样的自定义标题栏
如您所见,Y!messenger 11 使用了一些技巧来绘制漂亮的标题栏。它的窗口类似于 Win 7 中的普通窗口,但有一个特殊的标题。这是玻璃框吗?我怎样才能创建一个这样的?
delphi - 德尔福:航空玻璃标签
我想要像这里这样的标签(都是玻璃的):
程序是用 Delphi 或 C++ Builder 编写的。我在 Winspector Spy & Window Detective 中找不到一类标签。
我知道一个非常好的组件 - rkAeroTabs,但不幸的是它没有显示带有玻璃的活动标签(这就是我需要的),并且其他标签不是完全玻璃的:(
来源:rmklever.com)
有人知道如何获得这些玻璃标签吗?谢谢。
c# - 如何制作带有“玻璃”背景的控件?
我有一个项目需要做一层容器。
容器必须具有以下内容:
用户可以看到顶层下的元素,但不能使用它们。
我看到了许多具有透明背景的示例,但以我的方式,我需要在这个容器上移动元素。我发现的更好:
但是在拖动元素时会有痕迹,或者在重绘时会闪烁。
我不知道如何解决这个问题。有想法吗?
我使用 InvalidateEx(),在:
delphi - 德尔福切割玻璃
我正在使用 Delphi XE2,我喜欢玻璃效果,我想像在 Windows 7 平板电脑工具中一样“切割”玻璃。如果你也知道如何剪一个按钮,如果你告诉我怎么做,我会很高兴。
谢谢
vb6 - 在自定义绘制的窗口标题中启用 Aero Glass (WM_NCPAINT, DwmSetWindowAttribute)
几年前,我们开发了一个名为 CaptionX(CaptionX 主页)的 ActiveX 组件。它允许开发人员将自定义的可点击图形按钮放置到窗口标题栏中。当 Aero Glass 开启时,在除 Vista 和 Windows 7 之外的任何 Windows 中一切正常 - 绘制带有自定义图标的标题栏,就像我们使用 Windows Basic 主题一样,没有窗口边框的透明效果。
人们希望在最新版本的操作系统中使用 CaptionX,但我们无法使其正常工作。Internet 上的所有搜索都告诉我们,当我们使用带有 DWMWA_NCRENDERING_POLICY 属性的 DwmSetWindowAttribute API 调用在窗口标题中使用自定义绘图时,我们需要启用 Aero Glass,但我们还没有设法使其工作。
我们在窗口的非客户端表面上绘制的代码如下所示(抱歉 - 这是旧的 VB6 :):
我们添加了以下调用
到我们代码中的很多地方,但它没有任何效果。如果使用 DwmSetWindowAttribute 在窗口中默认使用 Aero Glass 效果,我们可以禁用它,但不能启用它。
我们做错了什么?我们是否需要在代码中添加更多 API 调用,如果需要,在哪里?
windows - 是否可以只为我自己的表格更改玻璃颜色?
我想以独立于 Aero 用户颜色设置的颜色创建我的应用程序表单。是否可以在不影响用户设置的情况下使用所选颜色为我的表单着色?
我只想为 Windows Aero 颜色做这件事。
谢谢
.net - AeroGlass 与 VB.net
我正在研究如何在 vb.net 或 c# 中将玻璃效果添加到获胜表单中
我看了很多例子,比如使用 e.graphics 制作一个带有 win form 尺寸的正方形,其他的在没有任何 e.graphics 技巧的情况下做得非常好。
但我的问题是,我没有看到任何在玻璃效果获胜表单上使用按钮、标签、下拉菜单等窗口控件的示例。
在网上搜索,我发现这篇 C++ 的文章:
http://www.codeproject.com/Articles/18910/Adding-or-Retrofit-Aero-Glass-into-Legacy-Wind
如果您查看文章中的图像,我遇到了这个问题,我希望为 .NET 做类似的事情