mfc中,CButton的坐标怎么改变?

来源:百度知道 编辑:UC知道 时间:2024/07/02 10:43:40
mfc中,CButton的坐标怎么改变?
使CButton能上下移动

CButton btn;
btn.SetWindowPos()吧,
btn本身也是窗体,和设置别的控件的意思是一样的(⊙o⊙)哦

API 用MoveWindow或者CWnd 的SetWindowPos函数。

不清楚你要怎么样的移动。请说具体点。