A button on another program? If it is not a graphic but normal command button, do I send SetText or something?
Printable View
A button on another program? If it is not a graphic but normal command button, do I send SetText or something?
As long as you have the hWnd...
VB Code:
Public Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, _ ByVal lpString As String) _ As Long Call SetWindowText(hwnd, "Some Text")