对Aero的玻璃窗口非客户画

编程入门 行业动态 更新时间:2024-10-19 08:46:02
本文介绍了对Aero的玻璃窗口非客户画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

结果现在即时通讯定制我的应用程序的标题栏。我的目标是添加标题栏的一个额外的按钮。 IM我的$p$pvious问题人劝我,我可以定制非客户区的方式。这就是完美的作品除了一个小的事情 - 发光!我可以得出在非工作区,但彤彤的我不能让它那$ P $垫窗外的。我也无法找到这个SUBJ任何资源。

我看着这样品,并提出我自己的测试程序调查非客户图纸设备。我的应用程序窗口的屏幕截图:

所以,你可以看到系统按钮呈窗外的时候,我被borderframe裁剪。

例如,Skype的窗口在标题栏中四种自定义按钮,他们可以发光窗外框:

谁能告诉我找出绘制按钮的发光窗口的出路何在?结果在此先感谢!

结果谢谢大家的答案!

解决方案

Skype的欺骗它,并且具有沿其窗口的顶部有一个小条子;在那里他们可以借鉴的。

您可以用进程资源管理器SpyXX看到它

另请参见

MSDN:自定义窗口框架使用DWM

Now Im customizing title bar of my application. My aim is to add one extra button on title bar. Im my previous question people have adviced me the way I can customize non client area. Thats works perfectly except one small thing - glowing! I can draw glowing in nonclient area but I cannot make it spreads out of the window. I also cant find any resource about this subj.

I looked into this sample and made my own test app for investigating non client drawing facilities. Screen shot of my app's window:

So you can see that system button glows out of the windows when my is clipped by borderframe.

For example, Skype's window have four custom buttons in title bar and they can "glow" out of the window frame:

Can anybody advise me to find out the way to draw button's glowing out of the window? Thanks in advance!

[EDIT] Thank you everybody for answers!

解决方案

Skype cheats it, and has a little sliver along the top of their window; where they can draw it.

You can see it with Process Explorer to SpyXX:

See also

MSDN: Custom Window Frame Using DWM

更多推荐

对Aero的玻璃窗口非客户画

本文发布于:2023-11-12 04:01:13,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1580462.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:窗口   玻璃   客户   Aero

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!