Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #18898
| From | Greg <greg@alicie.com> |
|---|---|
| Newsgroups | it.comp.lang.visual-basic |
| Subject | Re: FindWindow |
| Date | 2016-11-04 20:07 +0100 |
| Organization | solani.org |
| Message-ID | <nvima9$2ho$1@solani.org> (permalink) |
| References | <nvhtp2$h0a$1@solani.org> <nvia6i$179m$1@gioia.aioe.org> |
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