sasha
2008-10-08 19:42:46 UTC
Hello!
I've hit a brick wall trying to handle Control-C in the IE AX control
that I'm hosting.
What I want to do is highlight text in the browser control, hit
control-c and have the text on the Clipboard.
But that doesn't work. Using Spy is see that WM_COMMAND is not generated
when Control-C is pressed. There are keydown/char/keyup messages.
I'm using CWTLAxControl for hosting the control in C++.
But when I host the control in a Delphi/BCB application, everything
works just fine - my text ends up on the Clipboard and I see WM_COMMAND
sandwitched between keydown/keyup.
Installing my own IDocUIHandler works - I get context menu
notifications. But the TranslateAccelerator is never called.
So, I suspect that I don't provide some interface or some such or don't
enable something on the IE control itself.
Any and all suggestions will be greatly appreciated.
Thanks,
.a
I've hit a brick wall trying to handle Control-C in the IE AX control
that I'm hosting.
What I want to do is highlight text in the browser control, hit
control-c and have the text on the Clipboard.
But that doesn't work. Using Spy is see that WM_COMMAND is not generated
when Control-C is pressed. There are keydown/char/keyup messages.
I'm using CWTLAxControl for hosting the control in C++.
But when I host the control in a Delphi/BCB application, everything
works just fine - my text ends up on the Clipboard and I see WM_COMMAND
sandwitched between keydown/keyup.
Installing my own IDocUIHandler works - I get context menu
notifications. But the TranslateAccelerator is never called.
So, I suspect that I don't provide some interface or some such or don't
enable something on the IE control itself.
Any and all suggestions will be greatly appreciated.
Thanks,
.a