Results 1 to 4 of 4

Thread: -= Class Name Help =-

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Posts
    16

    Question -= Class Name Help =-

    How can i find out the class name of a text box within internet explorer?

    I am following a tutorial and this is the step i am having problems with:

    ---------------------------------------------------------
    lpsz1 refers to the classname of the current window you are trying to find. So in our example (notepad), the textbox that I am typing in right now is called "Edit". 90% of the textboxes you see are "Edit", yet rich textboxes are not "Edit" There is no need to sweat class names because an API SPY gets them for you!
    ----------------------------------------------------------

    The API SPY program that i got down will not identify the class name of a text box within Internet Explorer.

    Any ideas would be great.

    thanks.

  2. #2
    I wonder how many charact
    Join Date
    Feb 2001
    Location
    Savage, MN, USA
    Posts
    3,704
    Out of curiosity, why would you want, if it was possible, the hwnd of a textbox in IE (i don't see what having the classname would get you... you can go look that up in the Win32API reference).

    If you were writing the webpage, you'd use Javascript and it would be simple enough.

    If you didn't write the page, but instead were trying to hack it, then you might want to know the hwnd assigned to it.
    But even then, you could simply save the web page source, change it to your own liking, and send it back to a web server.

    Of course if the web programmer was any good, the server will probably deny the form because it was manipulated.

  3. #3
    Sleep mode
    Join Date
    Aug 2002
    Location
    RUH
    Posts
    8,083

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jul 2004
    Posts
    16
    thanks for the link, i will read up on it.

    the reason behind my question is that i would like to send text to a text box on a webpage, then check if that text has been sent properly.

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