关于OpenGL窗口透明的程序
这和OpenGL没半毛钱关系和窗口系统有关
■网友
你都查到该用什么函数了,剩下的应该不难啊。首先MSDN一下这个函数SetLayeredWindowAttributes function (Windows),知道这个函数的参数和用法:A layered window is created by specifyingWS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.
【关于OpenGL窗口透明的程序】 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.
然后google一下关于这个函数的示例代码:https://www.google.com.hk/search?newwindow=1\u0026amp;safe=strict\u0026amp;q=vc+setlayeredwindowattributes\u0026amp;revid=66638887\u0026amp;sa=X\u0026amp;ved=0ahUKEwjX7fynhZXLAhUhLqYKHQa5ACQQ1QIIYigB\u0026amp;biw=1066\u0026amp;bih=506
使用过程中出现了不懂的问题除了谷歌还可以上stackoverflow上查查:winapi - Win32 C++ SetLayeredWindowAttributes is either fully opaque or fully transparent; nothing in between
■网友
要不出门左转去csdn吧
■网友
文件连接已经失效……
推荐阅读
- 过节■江苏省委省政府办公厅下发关于做好2021年元旦春节期间有关工作的通知
- |徐州市出台《关于优化创新创业生态系统 提升区域科技创新活力的实施意见》及实施细则
- 雨下|全球关于禁售燃油车只是理论上可行吗
- 关于用phpfsocket 写Post, 模拟http 报文怎样写入要传输的处理数据
- 智叔|很多家长还在整箱买:谈谈关于牛奶的17个真相警惕这些列入黑名单的“假牛奶”
- 关于微信小程序的思考:运营者该何去何从
- 关于人工智能虚拟人的一些问题
- 知乎上关于人生经验的介绍是否可能对青少年造成潜在危害
- |泗阳:服务小窗口点亮大文明
- 写下我关于做数据分析专员的困惑和各位的建议是
