Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internet Explorer Window appears minimized
Message
 
 
À
14/08/2001 14:54:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00543645
Message ID:
01301446
Vues:
18
>>When create an object
>>oie=createobject("internetexplorer.application")
>>oie.visible=.t.
>>
>>the windows only appears in the taskbar minimized under windows 2000.
>>Where I need to change the settings to authomatically maximize or become the active form.
>>
>>Thanks
>
>You can do that with a combination of API calls:
>
DECLARE SHORT SetForegroundWindow IN USER32.DLL INTEGER hWnd
>
>DECLARE INTEGER FindWindow IN Win32API;
>STRING @lpClassName, ;
>STRING @lpWindowName
>
>oIE = CreateObject("InternetExplorer.Application")
>oIE.Toolbar = .t.
>oIE.Visible = .t.
>
>lcApplicationTitle = "Microsoft Internet Explorer"
>lnHWnd = FindWindow(0, @lcApplicationTitle)
>
>SetForegroundWindow(lnhWnd)
>Credits to the UT's Windows API collection.
>HTH

Well, there is a simple way to do it.

Curious, what did I mean here?
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform