[2] wxIE doesn't handle 'enter', 'delete' key, 'control-c'
'control-v' properly
JoeEstara
joe at estara.com
Fri Mar 2 17:26:19 PST 2007
Thanks you so much Kevin, you saved me a ton of time, worked like a charm:
(The patch for anyone searching for this in the future):
Index: wxactivex.cpp
===================================================================
RCS file:
/pack/cvsroots/wxwidgets/wxWidgets/wxPython/contrib/activex/wxie/wxactivex.cpp,v
retrieving revision 1.8
retrieving revision 1.9
diff -r1.8 -r1.9
308,309d307
< SetTransparent();
<
1777a1776,1785
> }
>
> bool wxActiveX::MSWTranslateMessage(WXMSG *msg){
>
> if (msg->message == WM_KEYDOWN){
> HRESULT result =
> m_oleInPlaceActiveObject->TranslateAccelerator(msg);
> return (result == S_OK);
> }
>
> return wxWindow::MSWTranslateMessage(msg);
Kevin Ollivier wrote:
>
> Hi Joe,
>
> On Mar 2, 2007, at 3:50 PM, JoeEstara wrote:
>
>>
>> I built the wxIE project from: http://sourceforge.net/projects/
>> wxactivex
>>
>> Which is great, but I can't use the 'delete' key, nor 'enter', nor
>> control-c/control-v in the IE window. Using SPY++ and stepping
>> through the
>> code I see that the keys are being sent to the IE Window so I'm
>> lost as to
>> how to make it work.
>>
>> Has anyone seen oddities like this using wxActiveX? Everything
>> looks right
>> so it's very frustrating...
>
> AFAICT, the wxIE project at that URL has been abandoned. However,
> there is a version of wxIE used by wxPython that is being updated and
> has this bug fix in it. Look in the wx CVS (or wxPython tarball) for
> wxPython/contrib/activex/wxIE. It's the same control, just with some
> updates.
>
> Regards,
>
> Kevin
>
>> Joe
>> --
>> View this message in context: http://www.nabble.com/wxIE-doesn%27t-
>> handle-%27enter%27%2C-%27delete%27-key%2C-%27control-c%27-%
>> 27control-v%27-properly-tf3336727.html#a9279837
>> Sent from the wxWidgets - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
>> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
>
--
View this message in context: http://www.nabble.com/wxIE-doesn%27t-handle-%27enter%27%2C-%27delete%27-key%2C-%27control-c%27-%27control-v%27-properly-tf3336727.html#a9280764
Sent from the wxWidgets - Users mailing list archive at Nabble.com.
More information about the wx-users
mailing list