Insert text to browser's textbox

This is a discussion on Insert text to browser's textbox within the Windows Programming forums, part of the Platform Specific Boards category; What is the function to write to a browser's textbox? Is it the same as for writing to a window? ...

  1. #1
    Registered User
    Join Date
    Dec 2007
    Location
    France
    Posts
    749

    Insert text to browser's textbox

    What is the function to write to a browser's textbox?

    Is it the same as for writing to a window?

    Code:
    DrawText (hdc, TEXT ("Hello!"), -1, &rect, 0) ;
    I cant seem to manage. Thanks!
    Last edited by Ducky; 05-01-2009 at 09:35 PM.
    Compiler MSVC++ 2010 with Code::Blocks.

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,246
    What textbox? The URL input box, or the rendering window?

  3. #3
    Registered User
    Join Date
    Dec 2007
    Location
    France
    Posts
    749
    The login box for example.

    Thanks.
    Last edited by Ducky; 05-01-2009 at 09:46 PM.
    Compiler MSVC++ 2010 with Code::Blocks.

  4. #4
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,641
    There's no general way to do what you're trying to do; some browsers may implement it as an actual Windows control, while others may use some internal format for their widgets. Either way, due to security issues, they probably aren't going to publish an API for accessing input fields (I'm just guessing, though).
    Code:
    if( numeric_limits< byte >::digits != bits_per_byte )
        error( "program requires bits_per_byte-bit bytes" );
    24bbs.cpp

  5. #5
    Registered User
    Join Date
    Dec 2007
    Location
    France
    Posts
    749
    I understand, thanks for the explanation.
    Compiler MSVC++ 2010 with Code::Blocks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 5
    Last Post: 03-02-2009, 07:33 AM
  2. How to use FTP?
    By maxorator in forum C++ Programming
    Replies: 8
    Last Post: 11-04-2005, 02:17 PM
  3. Unknown Memory Leak in Init() Function
    By CodeHacker in forum Windows Programming
    Replies: 3
    Last Post: 07-09-2004, 09:54 AM
  4. Replies: 1
    Last Post: 07-13-2002, 05:45 PM
  5. Ok, Structs, I need help I am not familiar with them
    By incognito in forum C++ Programming
    Replies: 7
    Last Post: 06-29-2002, 09:45 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21