有个控件,叫什么SKIN,忘了,你找找。
解决方案 »
- VB COM 问题
- picturebox的问题
- ********求救,需要一个目录树,第一级是省,点击后二级目录是相应的市,请问哪位大虾慷慨相助,给我现成的数据库和代码,在此谢过了!
- 如何实现像PP,QQ等软件的文件共享呀,请赐教
- 能否取得当前工程所在工程组的名称?
- VB计算器中的几个小问题
- 刚做完Demo,又可以扔掉VB,散分
- 如何用vb来导入html文件,或者把整个网站导入,高手门请近来指教一下
- 请教如何关闭监视器(无信号输入)◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎◎
- 数据表中的字符匹配
- html中的文字大小只有7中变化吗?期待其他的选择,请教
- 请赐教!
可以用
SetLayeredWindowAttributes
The SetLayeredWindowAttributes function sets the opacity and transparency color key of a layered window.BOOL SetLayeredWindowAttributes(
HWND hwnd, // handle to the layered window
COLORREF crKey, // specifies the color key
BYTE bAlpha, // value for the blend function
DWORD dwFlags // action
);
Parameters
hwnd
[in] Handle to the layered window. A layered window is created by specifying WS_EX_LAYERED when creating the window with the CreateWindowEx function or by setting WS_EX_LAYERED via SetWindowLong after the window has been created.
crKey
[in] Pointer to a COLORREF value that specifies the transparency color key to be used when composing the layered window. All pixels painted by the window in this color will be transparent. To generate a COLORREF, use the RGB macro.
bAlpha
[in] Alpha value used to describe the opacity of the layered window. Similar to the SourceConstantAlpha member of the BLENDFUNCTION structure. When bAlpha is 0, the window is completely transparent. When bAlpha is 255, the window is opaque.
dwFlags
[in] Specifies an action to take. This parameter can be one or more of the following values. Value Meaning
LWA_COLORKEY Use crKey as the transparency color.
LWA_ALPHA Use bAlpha to determine the opacity of the layered window..
Return Values
If the function succeeds, the return value is nonzero.If the function fails, the return value is zero. To get extended error information, call GetLastError.