Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internet Explorer Window appears minimized
Message
 
 
To
14/08/2001 14:54:34
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00543645
Message ID:
01301446
Views:
17
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform