Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event binding on COM Object.?
Message
From
15/07/2003 19:31:28
 
 
To
15/07/2003 19:25:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00809419
Message ID:
00810478
Views:
21
>Hi Sergey,
>
>Thanks for pointing me into the right direction. I've used implements and bound the com object event. This allowed me to
>receive status messages from fired events from the COM object.
>
>Do you know how to display a message from a COM component?
>
>Here is what's happening.. I've created a COM Lib in VFP7 that can be
>called from VFP5/6 and 7. This give me the new fox 7 implements and
>eventbind features in VFP 5/6 as long as I distribute the VFP 7 run time
>library.
>
>The problem is every thing must be contained in the COM object and
>I need to display messages that are returned from the COM object.
>I use the WAIT WINDOW function because VFP dosn't allow me to define
>windows in a COM object. The Wait Window messages are displayed
>behind the current VFP screen and I have to use ALT+TAB to see the
>messages. I tried to capture the current window handel but it returns
>0 so I can't force the COM object to be the front window.
>
>Got any iteas on how to bring the WAIT WINDOW message to the front?
>
>Thanks,
>
>Gary

I'm actually surprised that the WAIT WINDOW doesn't give you an error in the COM object. User interface (WAIT WINDOW) shouldn't be allowed there at all.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform