http://topic.csdn.net/t/20030524/18/1829023.html
http://zhidao.baidu.com/question/93411647.html?fr=qrl&cid=867&index=5&fr2=query
我想把form5移動到form3中picture1的位置,下面是我的代碼(在form3的code中): Dim r2 As RECT GetWindowRect Picture1.hwnd, r2 Form5.ScaleMode = vbPixels '設置座標單位爲像素 Form5.Move r2.Left, r2.Top Form5.Show 爲什麼移動的座標仍然是默認的緹而不是屏幕像素呢? 請指教!
問題補充:
要實現窗口的正確移動,應該怎麼做?
將form5的左上角的位置挪到form3中picture1左上角的位置