Minigui局部刷新 InvalidateRect

简介: Minigui局部刷新 InvalidateRect

整体刷新

InvalidateRect (hWnd, NULL, TRUE);

局部刷新

//局部刷新菜单按钮区域结构体
  static RECT rtLast={
    left:128,
    top:421,
    right:235,
    bottom:446,
  };
  //局部刷新
  InvalidateRect (hWnd, &rtLast, TRUE);

RECT 结构:

https://minigui.fmsoft.cn/api_ref/3.0.12_processes/struct__RECT.html#ad8f5e19e19f12974c9713e920ec54331

_RECT Struct Reference
[Win32-like data types and macros]
#include <common.h>
Data Fields
int left
int top
int right
int bottom
Detailed Description
A rectangle defined by coordinates of corners.
Note:
The lower-right corner does not belong to the rectangle, i.e. the bottom horizontal line and the right vertical line are excluded from the retangle.
See also:
PRECT, GAL_Rect
Definition at line 572 of file common.h.
Field Documentation
int bottom
The y coordinate of the lower-right corner of the rectangle.
Definition at line 589 of file common.h.
int left
The x coordinate of the upper-left corner of the rectangle.
Definition at line 577 of file common.h.
Referenced by PtInRect().
int right
The x coordinate of the lower-right corner of the rectangle.
Definition at line 585 of file common.h.
int top
The y coordinate of the upper-left corner of the rectangle.
Definition at line 581 of file common.h.
Referenced by PtInRect().
The documentation for this struct was generated from the following file:
common.h

大概意思:

//局部刷新菜单按钮区域结构体
static RECT rtLast={
  left:0, //矩形左上角的 x 坐标。
  top:0, //矩形左上角的 y 坐标。
  right:800, //矩形右下角的 x 坐标。
  bottom:60, //矩形右下角的 y 坐标。
};
目录
相关文章
|
11月前
|
安全 应用服务中间件 网络安全
实战经验分享:利用免费SSL证书构建安全可靠的Web应用
本文分享了利用免费SSL证书构建安全Web应用的实战经验,涵盖选择合适的证书颁发机构、申请与获取证书、配置Web服务器、优化安全性及实际案例。帮助开发者提升应用安全性,增强用户信任。
成功解决ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
成功解决ValueError: Input contains NaN, infinity or a value too large for dtype('float64').
tensorflow.python.framework.errors_impl.InvalidArgumentError
tensorflow.python.framework.errors_impl.InvalidArgumentError:logits and labels must be broadcastable: logits_size=[8,4] labels_size=[8,2]训练模型时报错,tensorflow.python.framework.errors_impl.InvalidArgu...
181 1
|
SQL 数据库
SQL FULL OUTER JOIN 关键字:左右表中所有记录的全连接解析
SQL RIGHT JOIN关键字返回右表(table2)中的所有记录以及左表(table1)中的匹配记录。如果没有匹配,则左侧的结果为0条记录。
391 0
|
存储 Java 关系型数据库
基于SpringBoot+Vue+Java 的漫画之家系统(一)
基于SpringBoot+Vue+Java 的漫画之家系统
|
Unix Linux Shell
【Linux】四、Linux 进程概念(三)
目录 七、进程优先级 7.1 基本概念 7.1.1 什么是优先级 7.1.2 为什么存在优先级 7.1.3 Linux 优先级特点 7.2 查看系统进程 7.3 PRI 和 IN 7.4 查看进程优先级和更改进程优先级 7.5 其它概念 7.6 进程切换 八、环境变量 8.1 环境变量基本概念 8.2 常见环境变量 8.3 查看环境变量 8.4 和环境变量相关的命令 8.5 测试PATH 8.6 测试HOME和SHELL 8.7 通过系统调用获取环境变量 8.8 环境变量通常是具有全局属性的 8.9 命令行参数 8.10 第三方变量 environ
107 0
【Linux】四、Linux 进程概念(三)
|
机器学习/深度学习 算法 测试技术
从零开始构建:使用CNN和TensorFlow进行人脸特征检测
从零开始构建:使用CNN和TensorFlow进行人脸特征检测
372 0
从零开始构建:使用CNN和TensorFlow进行人脸特征检测
|
存储 域名解析 数据安全/隐私保护
离线云监测系统
OCMS ( Offline Cloud Monitoring System)是利用人们熟知的稳定可靠的第三方电子邮件、FTP 服务商提供的数据永久存储服务作为中间环节,监测设备向服务器发送数据,监测软件从服务器获取数据的以非实时在线的方式工作的无线监测预警系统。 具有数据可靠、部署快捷、操作简单、无需在线等主要优势和特点。
离线云监测系统
|
存储 弹性计算 JavaScript
【ECS最佳实践】使用多块云硬盘构建RAID组
1.RAID简介 RAID是将多个独立的磁盘按照一定的方式组成1个磁盘阵列组,相比单个磁盘能够有效的提高磁盘的容量、带宽以及可靠性和可用性。 说明: 1.不建议对云盘采用RAID5 和RAID6模式,这些RAID模式的奇偶校验数据会占用一定的IOPS,从而造成性能的损失 2.建议创建RAID0,RAID1模式,并使用相同分区大小,以减少云盘空间的浪费 如下是常见的RAID配置选项: 配置 优点 劣势 使用场景 RAID0 I/O在卷内以条带化的方式分布在各个磁盘上。
|
机器学习/深度学习 弹性计算 关系型数据库

热门文章

最新文章