Search found 84 matches
- Thu Jan 03, 2008 3:34 pm
- Forum: C++ Development
- Topic: Spoofing keypresses
- Replies: 6
- Views: 2253
Maybe you could try adding your own event handler, that would provess all events before they reach the control Thanks Auria. I'm actually doing that. It catches all the key down events and tries to change some of them. I'll check the sources though and see if I can work out what else needs to be ch...
- Mon Dec 31, 2007 5:07 pm
- Forum: C++ Development
- Topic: Spoofing keypresses
- Replies: 6
- Views: 2253
thanks C_Bastian, I have also tried this technique, but I couldn't get that to work either :( I 'm at work at the moment, so I can't post the exact code I tried, but it was something like: wxKeyEvent keyEvent(EVT_CHAR); keyEvent.m_keyCode = WX_BACK; EmulateKeyPress(keyCode); It didn't work. I even t...
- Sun Dec 30, 2007 4:29 pm
- Forum: C++ Development
- Topic: Spoofing keypresses
- Replies: 6
- Views: 2253
Spoofing keypresses
Hi all, I have a class, myTextCtrl, inheriting from wxTextCtrl. Sometimes, when the user presses Delete, I would like to change it into a Backspace instead. I am using EVT_KEY_DOWN, and I can easily prevent any Delete key events being passed onto myTextCtrl by not calling event.Skip(). That works pe...
- Mon Dec 10, 2007 2:29 pm
- Forum: C++ Development
- Topic: How can I use wxFileCtrl ?
- Replies: 2
- Views: 849
- Sun Dec 09, 2007 8:33 pm
- Forum: C++ Development
- Topic: How can I use wxFileCtrl ?
- Replies: 2
- Views: 849
How can I use wxFileCtrl ?
How can I use wxFileCtrl? On it's documentation page, http://www.lpthe.jussieu.fr/~zeitlin/wxWidgets/docs/wxwin_wxfilectrl.html it says that it needs <wx/filectrl.h> and wxUSE_FILECTRL should be set to 1. However, I cannot find filectrl.h, and none of the files contains wxUSE_FILECTRL. I would reall...
- Sat Dec 08, 2007 11:09 pm
- Forum: Component Writing
- Topic: Customising wxFileDialog
- Replies: 1
- Views: 939
- Sat Dec 08, 2007 9:13 pm
- Forum: Component Writing
- Topic: Customising wxFileDialog
- Replies: 1
- Views: 939
Customising wxFileDialog
Hi all, I would like to use a file dialog in my applications. I am basically happy with the standard wxFileDialog, but I would like to add some more controls to it. One way I could do it is to totally re-create the file dialog by adding controls to a standard wxDialog, and add my own controls too. B...
- Sat Jul 28, 2007 7:10 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Sat Jul 28, 2007 3:45 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
Crikey! I spent hours last night tearing my code apart to work out what was the difference between your code and mine. Eventually, I think the problem came down to two different things: 1: Having two wxGlCanvases open, and trying to setup textures for the first one just after the second one had been...
- Fri Jul 27, 2007 11:27 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Fri Jul 27, 2007 6:04 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Fri Jul 27, 2007 5:38 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Fri Jul 27, 2007 12:41 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Fri Jul 27, 2007 1:11 am
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946
- Thu Jul 26, 2007 11:51 pm
- Forum: C++ Development
- Topic: OpenGL Textures + wxWidgets
- Replies: 20
- Views: 3946