Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Event binding on COM Object.?
Message
 
 
To
15/07/2003 19:25:22
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00809419
Message ID:
00810526
Views:
19
I agree with Fred that Wait command shouldn't work in DLL and it seems like a bug to me that it works. If you want COM server with UI, try EXE COM server.

>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
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform