Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.lang.visual-basic > #18896

Re: FindWindow

Newsgroups it.comp.lang.visual-basic
Date 2016-11-04 09:08 -0700
References <nvhtp2$h0a$1@solani.org>
Message-ID <b3a63e45-32e0-41dd-9576-8499354fb65f@googlegroups.com> (permalink)
Subject Re: FindWindow
From Luca D <antaniserse@yahoo.it>

Show all headers | View raw


On Friday, November 4, 2016 at 1:09:08 PM UTC+1, Greg wrote:
> ee = "Notepad"
> ee = "Internet Explorer"
> 
> twnd = FindWindow(ee, vbNullString)
> 
> nel primo caso funziona, nel secondo fallisce!
> Qualche indicazione per aitarmi a capire? Grazie

https://msdn.microsoft.com/en-us/library/windows/desktop/ms633499(v=vs.85).aspx

i due parametri sono, **nell'ordine**, class name e windows title... tu per cosa vuoi cercare, per classe (nel qual caso il nome non è quello) o per titolo (nel qual caso l'ordine non è giusto)?!

Back to it.comp.lang.visual-basic | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

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