Path: csiph.com!aioe.org!.POSTED!not-for-mail From: Franz_aRTiglio Newsgroups: it.comp.lang.visual-basic Subject: Re: Come forzare la chiusura di un mio oggetto? Date: Thu, 03 Nov 2016 21:15:26 +0100 Organization: Aioe.org NNTP Server Lines: 13 Message-ID: References: NNTP-Posting-Host: RonRoNZLK6c8o8GFY8UrOA.user.gioia.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15"; format=flowed Content-Transfer-Encoding: 8bit X-Complaints-To: abuse@aioe.org X-Newsreader: MesNews/1.08.06.00-it X-Notice: Filtered by postfilter v. 0.8.2 X-ICQ: 1931503972 Xref: csiph.com it.comp.lang.visual-basic:18889 Greg ha pensato forte : > Ma adesso ho un comportamento strano: quando lancio il browser appare > giustamente in primo piano, ma nel compilato mi rimane invece in secondo > piano. > Setfocus non va, allora ho provato con SendMessage ma non sembra funzionare: > k = SendMessage(IE.hwnd, WM_SETFOCUS, 0&, 0&) L'hai reso visibile ? IE.Visible = True Altrimenti è ovvio che setfocus fallisce....