Form2放在Form1里面(设Parent为Form1)后,窗口半透明(AlphaBlend)不起作用了,有什么办法?

hyz_cs 2014-03-19 09:46:26
如题...........
...全文
148 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
draculamx 2014-03-26
  • 打赏
  • 举报
回复
http://stackoverflow.com/questions/5883875/setlayeredwindowattributes-and-ws-child 这个帖子可以看看
draculamx 2014-03-26
  • 打赏
  • 举报
回复
刚去google了一把,WS_EX_LAYERED ,在WIN8以前,只能用在 top-level 窗口。 这是原话: Windows 8: The WS_EX_LAYERED style is supported for top-level windows and child windows. Previous Windows versions support WS_EX_LAYERED only for top-level windows. So it will not set layered attribute to 'child' windows.
draculamx 2014-03-25
  • 打赏
  • 举报
回复
不用BCB提供的窗体属性,自己用WIN32 API试试看行不?
hyz_cs 2014-03-25
  • 打赏
  • 举报
回复
引用 4 楼 draculamx 的回复:
不用BCB提供的窗体属性,自己用WIN32 API试试看行不?
有试过SetLayeredWindowAttributes了,对子窗体没用
hyz_cs 2014-03-24
  • 打赏
  • 举报
回复
cankoo 2014-03-20
  • 打赏
  • 举报
回复
hyz_cs 2014-03-19
  • 打赏
  • 举报
回复
额,,发错版块了.

1,178

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder 数据库及相关技术
社区管理员
  • 数据库及相关技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧