Making the keyboard work for TC when embedding WebBrowser

Discuss and announce Total Commander plugins, addons and other useful tools here, both their usage and their development.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
ctiberg
Member
Member
Posts: 194
Joined: 2003-10-24, 14:10 UTC
Location: Kristianstad, Sweden

Making the keyboard work for TC when embedding WebBrowser

Post by *ctiberg »

Hello!

This isn't the first time I've written about this, but it's still a mystery to me. I've tried to look into the source code of IEView, since they've apparently solved the problem - but I only got a headache (not that good at C++).

I'm using a TWebbrowser descendant in several plugins, and I place it on a Delphi form. This works just fine if I run the plugin as a program. But as soon as I plop it into a DLL and make a plugin, the keyboard interface stops working. Or rather, the browser stops telling me when keys are pressed, making it impossible for me to tell TC.

So, does anyone know what I'll need to do to fix this?
Best regards,
Christian Tiberg
Post Reply