7,763
社区成员
发帖
与我相关
我的任务
分享
Private hWndTarget As Long
Private Sub Command1_Click()
Dim iLen As Long, s As String
iLen = GetWindowTextLength(hWndTarget)
s = Space(iLen)
GetWindowText hWndTarget, s, iLen + 1
s = s & Text1.Text
SetWindowText hWndTarget, s
End Sub