CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 1999
    Posts
    6

    How to get text of the Visual C++ Studio Edit of another app??

    How to get text of the Visual C++ Studio Edit of another app??

    Do you know what kind of visual C++ Edit Class used it ?
    (c.f : i catch class name that window class (Afx:400000:8) --> what's mean?
    please ...


  2. #2
    Join Date
    Sep 1999
    Posts
    2

    Re: How to get text of the Visual C++ Studio Edit of another app??

    What i understand from your question is that u want to retrieve the text of an Edit Box present in another application.
    To do it u have to know the Class name of the Control before hand.Use SPY++ for easily finding it.Then use the ::FindWindow() function and provide it the Class Name.
    ::FindWindow would return the CWnd* which u need to type cast to CEdit*.
    U can even use the CWnd::GetWindowText() function to retrieve the text of any control.


  3. #3
    Join Date
    Sep 1999
    Posts
    6

    Re: How to get text of the Visual C++ Studio Edit of another app??

    I want to a word in Visual C++ which mouse pointed it!

    ...please if you can solve it,send me code source


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured