Events Not Sent to WPF-Based ActiveX Control (COM Interop) When Using Reg-Free-COM

I have a WPF based (COM Interop) ActiveX control. I can use it correctly by registering the control. When I tried Reg-Free-COM (using manifest files), the control seems to be activated, but events (like mouse click, RequestBringIntoView, etc.) are not responding. Interestingly, double click and tab key works.

I read in this article http://blogs.msdn.com/karstenj/archive/2006/10/09/activex-wpf-gadget.aspx that "... These issues come with the price: ActiveX control must be registered in a registry that requires some kind of installation such as .msi. The default gadget installation process cannot install ActiveX. An ActiveX control cannot be accessed via a COM module without a password ... "

Has anyone had a similar experience? Can anyone please explain what's going on?

Additional Information:
When a control is activated after it has been registered, it appears as part of the COM client user interface. The control does not receive focus, its elements receive it.

When using reg-free-com, the control does not load correctly. 1) The control gets focus instead of its sub-elements 2) The control has areas that are black and not the Windows default color 3) when I paste and log out of the control or double-click on it, the sub-elements get focus, the control starts to receive events and the black areas are replaced with the correct color

+2


a source to share


1 answer


I found the control is inactive because it requires the miscStatus attribute to activate, which is set for COM registration. I'll post this as a separate question.



+2


a source







All Articles