Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #18898
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!feeder5.news.weretis.net!news.solani.org!.POSTED!not-for-mail |
|---|---|
| From | Greg <greg@alicie.com> |
| Newsgroups | it.comp.lang.visual-basic |
| Subject | Re: FindWindow |
| Date | Fri, 04 Nov 2016 20:07:46 +0100 |
| Organization | solani.org |
| Lines | 21 |
| Message-ID | <nvima9$2ho$1@solani.org> (permalink) |
| References | <nvhtp2$h0a$1@solani.org> <nvia6i$179m$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset="iso-8859-15"; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | solani.org 1478286473 2616 eJwFwQkRADAIAzBLK08BOYwb/iUscSU4YXSar6+KtOGgUKdz9G1UCC1tyl8i0H4nU3ca0vz7ChBC (4 Nov 2016 19:07:53 GMT) |
| X-Complaints-To | abuse@news.solani.org |
| NNTP-Posting-Date | Fri, 4 Nov 2016 19:07:53 +0000 (UTC) |
| X-Newsreader | MesNews/1.08.06.00-it |
| Cancel-Lock | sha1:38DpIFjV3r7UZYEKdxr1x98C8zE= |
| X-User-ID | eJwFwYkBABAMA8CVUtJgHPrsP4I7nzLFolz09iYV4lm6PBXD3n0Pe9fADGSCxuy+mtsBQ30TrBC7 |
| X-NNTP-Posting-Host | eJwNyMERwDAIA7CZIGDO49Sl3n+ERk/1QeCdQqPa7VUdnlhpSsm1rGyW9d3zAzASJKIm7fkBM/URpA== |
| Xref | csiph.com it.comp.lang.visual-basic:18898 |
Show key headers only | View raw
Il 04/11/2016 16:41:31 Franz_aRTiglio ha scritto:
> Il 04/11/2016, Greg ha detto :
>
>> ee = "Notepad"
>> ee = "Internet Explorer"
>> twnd = FindWindow(ee, vbNullString)
>> nel primo caso funziona, nel secondo fallisce!
>> Qualche indicazione per aitarmi a capire? Grazie
>
> Azzo.. non tocco 'sta roba da una vita, prova con "IEFrame"
>
> twnd = FindWindow("IEFrame", vbNullString)
ieframe è il nome della dll, non ci avrei mai pensato!
Ho provato, nonostante fossi scettico, ed effettivamente mi ritorna un handle, ma forse non è quello giusto, perchè
quando lo passo a SendMessage:
k = SendMessage(vHandle, WM_SETFOCUS, 0&, 0&)
non succede nulla. Quindi binario morto pure questo :(
--
Greg
Back to it.comp.lang.visual-basic | Previous | Next — Previous in thread | Next in thread | Find similar
FindWindow Greg <greg@alicie.com> - 2016-11-04 13:08 +0100
Re: FindWindow Franz_aRTiglio <franzgol@N0SPAMtin.it> - 2016-11-04 16:41 +0100
Re: FindWindow Greg <greg@alicie.com> - 2016-11-04 20:07 +0100
Re: FindWindow Luca D <antaniserse@yahoo.it> - 2016-11-04 09:08 -0700
Re: FindWindow Greg <greg@alicie.com> - 2016-11-04 20:28 +0100
Re: FindWindow Luca D <antaniserse@yahoo.it> - 2016-11-05 11:06 -0700
Re: FindWindow Greg <greg@alicie.com> - 2016-11-06 19:56 +0100
Re: FindWindow Greg <greg@alicie.com> - 2016-11-04 20:29 +0100
csiph-web