wxStyledTextCtrl on windows???

chris elliott biol75 at york.ac.uk
Mon Apr 2 05:47:26 PDT 2007


http://wxhatch.cvs.sourceforge.net/wxhatch/wxhatch/mytext.cpp?view=markup

I did this in wxHatch, so see the code at the URL above. Look for OnKeyDown

chris

Rory Walsh wrote:
> I've been trying desperately to capture Ctrl/Alt/Shifts using a 
> wxStyledTextCtrl on windows and I'm running out of ideas. The 
> EVT_STC_KEY event does not seem to work on windows and GetKey(), 
> GetControl() and GetShift() only seem to work with this type of event? 
> Can anyone give me any advice? I've tried using EVT_TEXT with my 
> wxStyledTextCtrl but it does not get called. I've tried accessing 
> GetControl() from within a EVT_STC_CHANGE but it does not work. Does 
> anyone know of any solutions to this problem? Thanks,
> 
> Rory.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
> 




More information about the wx-users mailing list