无标题窗口移动的问题

AI1982 2003-02-18 01:57:02
像窗口发送WM_NCMOVE之前要调用
ReleaseCapture
它是干什么用的,好像不用它也没什么变化呀?
...全文
21 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
LeLeGhost 2003-02-22
  • 打赏
  • 举报
回复
;************************ 使鼠标左键能拖移窗口 ********************
.ELSEIF uMsg == WM_LBUTTONDOWN
invoke SendMessage,hWnd,WM_NCLBUTTONDOWN,HTCAPTION,0
;******************************************************************

LeLeGhost@yahoo.com.cn
http://lexiongjia.51.net
sunwhite 2003-02-19
  • 打赏
  • 举报
回复
This function releases the stylus capture from a window in the current thread and restores normal stylus input processing. A window that has captured the stylus receives all stylus input, regardless of the position of the stylus.
紫郢剑侠 2003-02-19
  • 打赏
  • 举报
回复
你说的是其中的一种方法,后面要用SetWindowPos来调整窗口的位置。

另外一种是处理鼠标在窗口的拖动消息, 在其中向窗口发送鼠标在窗口标题栏拖动的消息(系统消息)来骗窗口移动。

21,458

社区成员

发帖
与我相关
我的任务
社区描述
汇编语言(Assembly Language)是任何一种用于电子计算机、微处理器、微控制器或其他可编程器件的低级语言,亦称为符号语言。
社区管理员
  • 汇编语言
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧