VC++ MFC 设置Flash 窗体为透明

evil_steve 2012-09-07 04:44:41
如题
找到了一个例子很适合
但是 是C#写的dll
...全文
114 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
Gloveing 2012-09-07
  • 打赏
  • 举报
回复
那就使用
LoadLibrary -》GetProcAddress得到函数地址-》调用DLL中的函数
看不见的裂痕 2012-09-07
  • 打赏
  • 举报
回复

// Set WS_EX_LAYERED on this window
SetWindowLong(hwnd,
GWL_EXSTYLE,
GetWindowLong(hwnd, GWL_EXSTYLE) | WS_EX_LAYERED);
// Make this window 70% alpha
SetLayeredWindowAttributes(hwnd, 0, (255 * 70) / 100, LWA_ALPHA);

15,977

社区成员

发帖
与我相关
我的任务
社区描述
VC/MFC 界面
社区管理员
  • 界面
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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