Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE Browser - how to pass mouse events to parent?
Message
 
To
12/04/2011 14:48:52
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01506988
Message ID:
01507075
Views:
46
Mike,
the browser control is in an object in the form and there can be a number of them on the same form. I need to trap for mouse clicks and mouse move events so that I can re-size the container object and also allow the user to have a right click menu. The idea is to allow the user highlight some text, right click for the menu and select what they want to do with that text, be it add a link, set font attributes, etc. As it is now, the OLE Browser has no mouse events at all. I have most of this system completed and all other screen objects work this way. Thanks.



>Hey John,
>
>Can you be more specific? What are you trying to accomplish in the Browser control?
>
>
>
>>I have the VFP OLE Browser control in a container object on a form. I need to pass mouse down, right and left click, and mouse move on the Browser control to the parent object. How can this be done, or can it?
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform