f



wxIE doesn't handle 'enter', 'delete' key, 'control-c' 'control-v' properly

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...

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@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

0
joe
3/2/2007 11:50:05 PM
comp.soft-sys.wxwindows 21076 articles. 0 followers. Post Follow

2 Replies
794 Views

Similar Articles

[PageSpeed] 9

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@lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

0
kevino
3/3/2007 12:03:28 AM
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@lists.wxwidgets.org
>> For additional commands, e-mail: wx-users-help@lists.wxwidgets.org
>>
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help@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.


---------------------------------------------------------------------
To unsubscribe, e-mail: wx-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wx-users-help@lists.wxwidgets.org

0
joe
3/3/2007 1:26:19 AM
Reply: