Allonii
unread,Mar 30, 2012, 12:14:33 PM3/30/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wx-dev
Hello!
I'm currently trying to implement a UI rich autocomplete functionality
for wxtextctrl. I have tried wxPopupWindow, wxPopupTransientWindow and
wxComboCtrl but the common problem with these windows is that the
wxWebView does not receive any key events, so there is no way to get
the UP or DOWN key. Now wxComboCtrl seems to get this to work with a
list or tree control, But the source code seems to indicate that the
key events are only forwarded.
I tried a wxFrame without caption then the wxWebView got the key
events but this will create another problem since wxFRAME_NO_TASKBAR
will not work under mac.
So my question, is there a way to make wxPopupWindow behave more like
wxFrame and forward the key events?
(Setting up EVT_KEY_*, EVT_CHAR and EVT_SET_FOCUS and forwarding them
to wxWebView does not work.)
Thanks