Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
EVENTHANDLER - what interface for this object
Message
From
04/05/2007 12:23:52
 
 
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Miscellaneous
Thread ID:
01222532
Message ID:
01222536
Views:
18
>I have the following class:
>
>Define Class cweb As OleControl
>	OleClass="shell.explorer.2"
>
>	Procedure Refresh
>	NODEFAULT
>ENDDEFINE
>
>
>How do I find and define the interface for this OleControl so that I may bind to it with event handler.
>
>Thanks
>
>Glenn

You got that from Calvin Hsia, don't you? That's the webbrowser control. You should be able to use the IWebBrowser2 Interface. Perhaps you rather want to bind to something inside the webpage? Then maybe take a look at my tag cloud example at tek tips: http://www.tek-tips.com/viewthread.cfm?qid=1359037

In the last entry I use an interface of HTMLElementEvents to handle mouseover and out of a tags.

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform