使用API函数




Private Declare Function SetWindowText Lib “user32” Alias “SetWindowTextA” (ByVal hwnd As Long, ByVal lpString As String) As Long

Private Sub Command1_Click()

SetWindowText Form1.hwnd, “hellworld!”

End Sub

Author: 徐大军

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注