如何向Static类控件设置文本信息
Option ExplicitPublic Declare Function SendMessage& Lib "user32" Alias "SendMessageA" (ByVal hWnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any)Public Const WM_GETTEXT = &HDPublic Const WM_SETTEXT = &HCdim hwnd as long dim s as strings="test"hwnd=...SendMessage hwnd, WM_SETTEXT, 0, ByVal s
Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Longdim hwnd as long dim s as strings="test"hwnd=...SetWindowText hwnd, s