-
VC毛玻璃
#define GDIPVER 0x0110 //定义高版本的GDI+(1.1)
#include
#include
#include
#include
#include
#pragma comment(lib,"GdiPlus.lib")
using namespace Gdiplus;
#include
#pragma comment(lib,"dwmapi.lib")
//Aero效果是否已启用
BOOL IsCompositionEnabled()
{
BOOL bEnabled,bResult;
bResult = (SUCCEEDED(DwmIsCompositionEnabled(&bEnabled)) && bEnabled);
return bResult;
}
//对已分层的窗口启动玻璃效果
HRESULT EnableBlurBehindWindow(HWND hWnd, //窗口句柄
BOOL bEnable = TRUE, //启用或禁用
HRGN hRgn = 0, //模糊窗体中某个区域
BOOL bTransitionOnMaximized = FALSE) //最大化时是否启用
{
DWM_BLURBEHIND blurBehind = { 0 };
blurBehind.dwFlags = DWM_BB_ENABLE | DWM_BB_TRANSITIONONMAXIMIZED;
blurBehind.fEnable = bEnable;
blurBehind.fTransitionOnMaximized = bTransitionOnMaximized;
if (bEnable && hRgn != NULL)
{
blurBehind.dwFlags |= DWM_BB_BLURREGION;
blurBehind.h
- 2023-05-01 15:10:04下载
- 积分:1
-
驱动开发, 键盘驱动
驱动开发, 键盘驱动-Driver Development, keyboard-driven
- 2022-11-10 12:10:03下载
- 积分:1
-
WordReport
VS2010中编译链接通过,实现VC调用MSWORD.olb组件在word文档中绘制、修改表格 。
- 2022-07-22 04:28:02下载
- 积分:1
-
CORBA suppliersideec
corba SupplierSideEC
- 2022-02-18 14:42:08下载
- 积分:1
-
basechecker
这是自动检查的 url 列表的程序。基于 md5 的 alhorithm。使用快速实现此 alhorithm (与包括 asm)
- 2022-02-21 15:27:10下载
- 积分:1
-
The eboot driver of CS8900 in WINDOWS CE
CS8900在windows ce下的eboot源代码-The eboot driver of CS8900 in WINDOWS CE
- 2022-09-09 06:35:03下载
- 积分:1
-
这里是决策树的分类算法,它是建立在…
here is the decision tree in classification algorithm which is build in excel file.
- 2023-05-16 21:15:03下载
- 积分:1
-
对C/C++指针进行详细介绍与分析,并且还有C/C++变成规范
对C/C++指针进行详细介绍与分析,并且还有C/C++变成规范-Pairs of C/C++ pointers to conduct a detailed introduction and analysis, and there are C/C++ into a standard
- 2022-06-11 21:14:24下载
- 积分:1
-
哈弗曼树和哈弗曼编码的源程序,很强大数 据结构上
哈弗曼树和哈弗曼编码的源程序,很强大数 据结构上-哈弗曼trees and哈弗曼the source code, it is a powerful data structure d
- 2022-04-19 07:29:18下载
- 积分:1
-
显示所输入字符的区位码或asc码,虽然简单,但调试程序或分析数据时常能用得到,很方便...
显示所输入字符的区位码或asc码,虽然简单,但调试程序或分析数据时常能用得到,很方便-revealed that the importation of characters in an area code or asc yards, although simple, but debugging procedures or data analysis often can use to be very convenient
- 2022-10-10 23:45:04下载
- 积分:1