关于SetLayeredWindowAttributes的使用问题

yujingfree 2006-06-08 02:56:40
使用CWnd::SetLayeredWindowAttributes来实现程序背景的透明但是给出:
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\flash1\flash1.cpp(48) : error C2039: “SetLayeredWindowAttributes” : 不是“Cflash1Dlg”的成员
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\flash1\flash1Dlg.h(8) : 参见“Cflash1Dlg”的声明
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\flash1\flash1.cpp(48) : error C2065: “LWA_COLORKEY” : 未声明的标识符
c:\Documents and Settings\Administrator\My Documents\Visual Studio Projects\flash1\flash1.cpp(48) : error C3861: “SetLayeredWindowAttributes”: 即使使用参数相关的查找,也未找到标识符


的错误,不知道怎么解决希望大家指点
...全文
270 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
yujingfree 2006-06-08
  • 打赏
  • 举报
回复
谢谢了,问题已经解决了
lixiaosan 2006-06-08
  • 打赏
  • 举报
回复
需安装sdk

http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm

15,975

社区成员

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

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