|
|
发表于 2013-2-3 07:42:36
|
显示全部楼层
来自: 中国辽宁
- Private Declare Function SetWindowText Lib "user32" Alias "SetWindowTextA" (ByVal hwnd As Long, ByVal lpString As String) As Long( T |9 \, R: L" h- C) s
- Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As Long
! i" y2 j3 O" C- h% b: L) I" A - " p6 X# ]* J4 n% A8 g; f+ x' e
- Sub MT()
. g! T9 g2 B# Z/ O- \3 D - SetWindowText FindWindow("OpusApp", vbNullString), "改着玩玩"2 K& Q1 U# `' f; Y
- End Sub
复制代码 |
|