Article View: borland.public.cppbuilder.internet.web
Article #728Re: TWebBrowser how to put_value() for <input type="file">
From: Hans Galema
Date: Wed, 01 Nov 2006 09:45
Date: Wed, 01 Nov 2006 09:45
28 lines
2074 bytes
2074 bytes
Remy Lebeau (TeamB) wrote: > .. If the user switches windows while keybd_event() is > still running, the keystrokes will go to the wrong window. Yes. That's exactly what happened. > You have to use > SendMessage() to ensure the proper window is used. Also, use WM_KEYDOWN/UP > instead of WM_CHAR. > .... you need to send them to > the edit control of the <input> element ... Ok. I will do that. > All the more reason not to use TWebBrowser at all for that. It would be a > major bottleneck in that process. At the moment it is indeed. > If you go to the HTTP protocol directly, > you can automate the uploading much much cleaner, and eliminate Microsoft's > UI altogether. The strange thing in me is that I first want to run this perfect with TWebBrowser. And having done that I will make a different version with TIdHTTP. Hans.
Technical Details
Message-ID:
<45486d1a$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<45468718@newsgroups.borland.com> <4546982a$1@newsgroups.borland.com> <45475fb0@newsgroups.borland.com> <4547902c$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,2bc0d92930b979d2 X-Google-Attributes: gidfeeec,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 01 Nov 2006 10:45:43 +0100 From: Hans Galema <notused@notused.nl> User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.internet.web Subject: Re: TWebBrowser how to put_value() for <input type="file"> References: <45468718@newsgroups.borland.com> <4546982a$1@newsgroups.borland.com> <45475fb0@newsgroups.borland.com> <4547902c$1@newsgroups.borland.com> In-Reply-To: <4547902c$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 145.98.201.248 Message-ID: <45486d1a$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1162374426 145.98.201.248 (1 Nov 2006 01:47:06 -0700) Lines: 28 Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!news2.euro.net!213.132.189.2.MISMATCH!multikabel.net!feed20.multikabel.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail