你用winspy软件就可以查到他们的消息了

解决方案 »

  1.   

    用FindWindow或EnumWindow可获得其它窗体的句柄。该窗口内的TextBox、Label等控件的名称是设计才存在的,运行没法得到,至于句柄可通过位置获得。    Dim abc As Long
        Dim str1 As String * 30001
        
        Dim Pt As POINTAPI, mWnd As Long
        'Get the current cursor position
        GetCursorPos Pt
        'Get the window under the cursor
        mWnd = WindowFromPoint(Pt.x, Pt.y)
        abc = SendMessageByString&(mWnd, WM_GETTEXT, 30000, str1)
        Text1.Text = str1
      

  2.   

    我有个根本的办法。使用api,可以永久保存的,值得一试,可以给分么??让我多提两个问题
    如果有需要,[email protected]