WinAPI:与TForm TransparentColor TransparentColorValue类似的属性 [英] WinAPI : similar properties to TForm TransparentColor TransparentColorValue

查看:57
本文介绍了WinAPI:与TForm TransparentColor TransparentColorValue类似的属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TForm属性的C + + Builder中有一些参数,如TransparentColor和TransparentColorValue。

但是我创建了一个带有WinAPI RegisterClassEx,CreateWindowEx函数的窗口。

Are在WinAPI中有类似于TransparentColor和TransparentColorValue的属性吗?以及如何使用它们?

我需要创建一个透明区域的窗口,例如绿色定义。

In C + + Builder in the TForm properties there are parameters like TransparentColor and TransparentColorValue.
But I created the window with the functions WinAPI RegisterClassEx, CreateWindowEx.
Are there properties similar to TransparentColor and TransparentColorValue in WinAPI? And how to use them?
I need to create a window with transparent areas which defined for example green color.

推荐答案

技术你需要掌握的是分层Windows。这不是一个初学者话题,但只要您针对最新版本的Windows,这是合理的。

类似这个 [ ^ ]将为您提供许多解释如何的精彩文章。
The technique you need to master is Layered Windows. Not a beginner topic but reasonable as long as you are targeting recentish versions of Windows.
A Search like this[^] on Code Project will give you lots of great articles explaining how.


这篇关于WinAPI:与TForm TransparentColor TransparentColorValue类似的属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆