-
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
-
有条件的读取VSAM文件(ksds)
使用KEY
有条件的读取VSAM文件(ksds)
使用KEY-Conditional read VSAM files (ksds) the use of KEY
- 2022-03-19 05:38:20下载
- 积分:1
-
SAMSUNG S3C2410 烧写NORFLASH工具 SJF2410.EXE
SAMSUNG S3C2410 烧写NORFLASH工具 SJF2410.EXE-burning NORFLASH tools SJF2410.EXE
- 2023-08-13 08:20:03下载
- 积分:1
-
xml的事例源代码
xml的事例源代码-xml source code examples
- 2022-03-28 16:53:07下载
- 积分:1
-
捕捉鼠标,防止鼠标逃出窗口,文件名:keepmouse.rar
捕捉鼠标,防止鼠标逃出窗口,文件名:keepmouse.rar-Capture the mouse, the mouse to prevent the escape window, the file name: keepmouse.rar
- 2022-01-26 05:05:44下载
- 积分:1
-
C++这个词在中国大陆的程序员圈子中通常被读做“C加加”,而西方的程序员通常读做“C plus plus”,“CPP”或者“dev.cpp"。 它是一种使用非常...
C++这个词在中国大陆的程序员圈子中通常被读做“C加加”,而西方的程序员通常读做“C plus plus”,“CPP”或者“dev.cpp"。 它是一种使用非常广泛的计算机编程语言。-The word C++ programmers in China in the circle of time is usually done " C Gaga" and the West do programmers usually read " C plus plus" , " CPP" or " dev.cpp" . It is a very extensive use of computer programming languages.
- 2023-07-27 05:35:03下载
- 积分:1
-
开发/ NVRAM为麦金塔驱动
dev/nvram driver for Power Macintosh
- 2022-04-09 10:34:27下载
- 积分:1
-
伦敦八分钟视频,可以随便下载啊,欢迎下载
伦敦八分钟视频,可以随便下载啊,欢迎下载-London 8 minutes video, can be downloaded ah, welcome to download
- 2023-01-26 14:25:04下载
- 积分:1
-
一个简单的树形程序
一个简单的树形程序-a simple procedure tr
- 2022-03-04 11:34:41下载
- 积分:1
-
WINCE 5.0ARMGPIOdriver.rar GPIO驱动开发及例程
WINCE 5.0ARMGPIOdriver.rar GPIO驱动开发及例程
-WINCE 5.0ARMGPIOdriver.rar GPIO driver development and routine
- 2022-03-12 22:45:20下载
- 积分:1