Win32 C ++ - 检查窗口位置X /位置Y和宽度/高度是否更改 [英] Win32 C++ - Check if the Window PositionX/PositionY and Width/Height changed

查看:132
本文介绍了Win32 C ++ - 检查窗口位置X /位置Y和宽度/高度是否更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以在窗口的X / Y位置改变时进行检查吗?

It is possible to check whenever the X/Y position of the window changed? Also, if it's possible to check if the Window Width/Height changed too.

推荐答案

您正在寻找 WM_MOVE WM_SIZE 消息。

You're looking for the WM_MOVE and WM_SIZE messages.

这篇关于Win32 C ++ - 检查窗口位置X /位置Y和宽度/高度是否更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆