Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FindWindowA with Internet Explorer
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
FindWindowA with Internet Explorer
Miscellaneous
Thread ID:
00739384
Message ID:
00739384
Views:
70
Hi, I am trying to bring Internet Explorer to the foreground using FindWindowA but run into a problem, I think with an incorrect classname? Not Sure. Can anyone help with this?
Thanks
Steve

GetThisUrl = "http://www.levelextreme.com/wconnect/wc.dll?FournierTransformation"

release oie
*LOCAL oie as internetexplorer.application
oie = createobject( "internetexplorer.application" )
oie.Visible = .t.
oie.Navigate( (GetThisUrl) )


#DEFINE swp_nosize 1
#DEFINE swp_nomove 2
#DEFINE hwnd_topmost -1
#DEFINE hwnd_notopmost -2

*FindWindowA see pages 180 in Office Automation
DECLARE LONG FindWindowA IN WIN32API STRING class, STRING title
* set windo position
DECLARE SetWindowPos in WIN32API LONG HWND, LONG hwndafter, ;
LONG x, LONG y, LONG cx, LONG cy, LONG flags

*Capture captions
hWndExp = FindWindowA("IEFrame" , oie.Caption) ****<<---------------- the problem and error here
Next
Reply
Map
View

Click here to load this message in the networking platform