A button on another program? If it is not a graphic but normal command button, do I send SetText or something?
asdf
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")
Public Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, _ ByVal lpString As String) _ As Long Call SetWindowText(hwnd, "Some Text")
Laugh, and the world laughs with you. Cry, and you just water down your vodka. Take credit, not responsibility
Forum Rules