Private Declare Function SetParent Lib "user32" (ByVal hWndChild As Long, ByVal hWndNewParent As Long) As LongPrivate Sub Command1_Click() Load Picture2(1) Picture2(1).Visible = True SetParent Picture2(1).hWnd, Picture1(0).hWnd Picture2(1).Move 0, 0 End Sub
═══════════════════
http://www.egooglet.com 资料、源码下载http://bbs.j2soft.cn 论坛交流
═══════════════════
Load Picture2(1)
Picture2(1).Visible = True
SetParent Picture2(1).hWnd, Picture1(0).hWnd
Picture2(1).Move 0, 0
End Sub