-
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
-
DirectDraw扩展的类
DirectDraw扩展类-DirectDraw extension of the class
- 2022-01-28 23:50:21下载
- 积分:1
-
圣维南一维非恒定流明渠水力学模型,该模型利用普林士曼Preismann隐格式求解,方法是追赶法和迭代法。...
圣维南一维非恒定流明渠水力学模型,该模型利用普林士曼Preismann隐格式求解,方法是追赶法和迭代法。-Saint-Venant one-dimensional unsteady flows lumens mechanical model, the model used Pulinshiman Preismann Hidden format solution is to catch up with the law and iterative method.
- 2022-02-09 20:10:15下载
- 积分:1
-
dll formula (2) can change their own
dll程式(二) 可以自己修改-dll formula (2) can change their own
- 2022-05-19 12:26:50下载
- 积分:1
-
TIME服务的UDP客户端实现,主要文件:UDPtime.cpp包含了实现了time服务的UDP客户代码...
TIME服务的UDP客户端实现,主要文件:UDPtime.cpp包含了实现了time服务的UDP客户代码-TIME Service UDP client-side implementation of key documents: UDPtime.cpp contains the realization of the time of services UDP client code
- 2022-08-25 07:06:54下载
- 积分:1
-
java图形化界面的设计案例
十几个章节的代码,均用于具体的Java图形化界面的逐次学习,每个章节的代码都聚焦与图形界面的每个知识点,有助增进学生的图形化界面的学习与设计。
- 2022-02-10 16:23:29下载
- 积分:1
-
一个聊天程序, 包括server and client使用windows socket原理, 是学习网络编程的好demo...
一个聊天程序, 包括server and client使用windows socket原理, 是学习网络编程的好demo-a chat program, including the use of server and client socket windows theory, learning is a good network programming demo
- 2022-03-26 00:35:10下载
- 积分:1
-
你可以知道食堂、 餐厅、 医院......在地图上的位置
这是我的毕业设计。是为了的游客和介绍我的中心而开发的。
- 2022-03-24 12:55:02下载
- 积分:1
-
C++对象消息传递,非常好用。
C++对象消息传递,非常好用。-C object messaging, a very handy.
- 2023-07-26 23:30:03下载
- 积分:1
-
图书馆管理系统
图书馆管理系统,java源码,应用技术,java,JavaScript,ajax,json,基本是java基础知识,
- 2023-02-13 11:35:04下载
- 积分:1