结果发现双缓冲在全屏模式下占用大效率不太好。
Rectangle (Device, Rect.left + 150, Rect.top, Rect.right + 150, Rect.bottom) ' 填充矩形
SelectObject (Device, Object)
DeleteObject (M_Brush) ' 释放掉矩形的画刷颜色
M_Brush = CreateSolidBrush (#青绿) ' 创建画刷
Object = SelectObject (Device, M_Brush) ' 这是把矩形的画刷颜色载入
FrameRect (Device, Rect, M_Brush) ' 绘制矩型'
SelectObject (Device, Object)
DeleteObject (M_Brush) ' 释放掉矩形的画刷颜色
上一篇 窗口监视热键注册可自由更改
下一篇 微信PC版调用的取登陆二维码