GetWindowLongPtr -->GetWindowLong
GWLP_WNDPROC ----->GWL_WNDPROC
'SetLayeredWindowAttributes' is w2k
LWA_ALPHA is w2k
GWLP_WNDPROC ----->GWL_WNDPROC
'SetLayeredWindowAttributes' is w2k
LWA_ALPHA is w2k
把
GetWindowLongPtr -->GetWindowLong
GWLP_WNDPROC ----->GWL_WNDPROC
就剩下
e:\transparent\Pellucid.cpp(83) : error C2065: 'SetLayeredWindowAttributes' : undeclared identifier
e:\transparent\Pellucid.cpp(83) : error C2065: 'LWA_ALPHA' : undeclared identifier
Error executing cl.exe.
怎样解决?
因为vc6 发布的时候还没有 2000
所以 附带的库没有最新的api 函数
SetLayeredWindowAttributes也可以查一下include,自己将
定义copy出来就应该可以了。
不行啊,找不到,我已经安装了sp5的。有谁有办法?难道大家没写过界面透明的程序?
help me plz!
HWND hwnd, // handle to the layered window
COLORREF crKey, // specifies the color key
BYTE bAlpha, // value for the blend function
DWORD dwFlags // action
);LWA_ALPHA就用0,1等试一试.
不行啊,还有什么治本的方法?
该下载什么补丁!