wxStyledTextCtrl, EVT_STC_POSCHANGED in C++
Robin Dunn
robin at alldunn.com
Mon Apr 2 10:23:13 PDT 2007
Rory Walsh wrote:
> In the python docs for wxStyledTextCtrl it lists a EVT_STC_POSCHANGED
> event yet there doesn't seem to be one for c++. I would like to capture
> up and down key presses but EVT_STC_KEY doesn't seem to work on windows
> and EVT_STC_CHANGE only captures changes. Can anyone advise on how best
> to capture up/down left/right arrows? Cheers,
EVT_STC_POSCHANGED was deprecated and removed from Scintilla several
versions ago. To get the key events yourself you can use EVT_KEY_DOWN
like normal.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-users
mailing list