wxStyledTextCtrl on windows???

Rory Walsh rorywalsh at ear.ie
Mon Apr 2 06:06:57 PDT 2007


Thanks Chris, this is exactly what I was looking for! I can't tell you 
how glad I am to have this working now, thanks to your wonderful example 
that is. Cheers,

Rory.



chris elliott wrote:
> 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
>>
> 
> ---------------------------------------------------------------------
> 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