请教:WM_SIZE这个消息的作用是什么呀
请问:WM_SIZE这个消息的作用是什么呀?
.if eax == WM_SIZE
invoke GetClientRect,hWinMain,addr @stRect
invoke MoveWindow,hWinEdit,0,0,@stRect.right,@stRect.bottom,TRUE
这上面的作用是干什么呀,我把它去掉了,程序仍然可以正常运行呀?
------解决方案--------------------
哦? 拖拉下主窗口的边框改变窗口的大小看看你修改前后两个程序不同的表现
.if eax == WM_SIZE
invoke GetClientRect,hWinMain,addr @stRect
invoke MoveWindow,hWinEdit,0,0,@stRect.right,@stRect.bottom,TRUE
这上面的作用是干什么呀,我把它去掉了,程序仍然可以正常运行呀?
------解决方案--------------------
哦? 拖拉下主窗口的边框改变窗口的大小看看你修改前后两个程序不同的表现