>>>
I thought that was Foxpro for Windows. How does VFP bind an event to a control? It also handles completely by itself? >>
>>Yes.
>>
>>
> If yes, then how does its OLE Container handle the events from an ActiveX component? >>
>>An ActiveX isn't VFP control. It has it's own hWnd.
>>
>>
>My original question came from an effort to bind an ActiveX component to an editbox.>>
>>Can you be more specifin on what you're trying to do?
>
>The ActiveX requires me to pass a hWnd of the editbox control in the VFP form so that it can bind its output to the editbox.
Naomi has hit it right on the button. One piece of advice, however, since I'm not that familar with the RTF control. Some ActiveX controls have not been documented with having an hWnd property, but, in reality, do. If this is the case with the Rich Text control, you should be able to make Fox see it (if it's not in the type library) by simply referencing it.
George
Ubi caritas et amor, deus ibi est