First I tried EVT_ACTIVATE, but that works only on main frame or probably dialogs I think and then EVT_SETFOCUS on my wxPanel. Both didn't work. I don't know why the focus doesn't work at all.
After all I think I'll use the notebook mechanism you mentioned.
Thanks
Search found 115 matches
- Sat Feb 06, 2010 8:04 am
- Forum: C++ Development
- Topic: Set and KillFocus?
- Replies: 2
- Views: 1121
- Sun Jan 31, 2010 6:34 pm
- Forum: C++ Development
- Topic: Set and KillFocus?
- Replies: 2
- Views: 1121
Set and KillFocus?
Hi, I want to recognize the change from one wxPanel to another wxPanel in a wxNotebook to route toolbar buttons for some standard events to the correct window. To do that I tried EVT_ACTIVATE, but then read that this is available for wxFrame or wxDialog only, but not for wxPanel. Then I tried it wit...
- Sun Jan 10, 2010 6:49 pm
- Forum: wxCode
- Topic: Compiling Cryptostream on Mac OS X
- Replies: 0
- Views: 964
Compiling Cryptostream on Mac OS X
Hi, I am trying to compile the cryptostream component from SVN: http://wxcode.svn.sourceforge.net/viewvc/wxcode/trunk/wxCode/components/cryptostream/ While doing this I get the following error: aesstrm.cpp: In member function ‘bool wxAESCipher::Add(wxInputStream&)’: aesstrm.cpp:269: error: inval...
- Mon Jan 04, 2010 10:39 am
- Forum: C++ Development
- Topic: wxButton and detecting click with 'ctrl key' versus without?
- Replies: 3
- Views: 1405
- Mon Jan 04, 2010 10:10 am
- Forum: C++ Development
- Topic: wxButton and detecting click with 'ctrl key' versus without?
- Replies: 3
- Views: 1405
wxButton and detecting click with 'ctrl key' versus without?
Hi, I like to click on a button in a form and have one action, but when I click with 'ctrl-key' or the like I would like to trigger another action. How could I do this? The help files seem not to have samples or I didn't found it. My current code connects button events dynamically like this: // Gene...
- Sun Dec 20, 2009 2:17 am
- Forum: Announcements and Discoveries
- Topic: Christmas gift is out - A new release of my software is out.
- Replies: 0
- Views: 1506
Christmas gift is out - A new release of my software is out.
This release includes a new plugin that was previously developed private. As of the many other projects regarding code generation I decided to open up the code generator module. When you start the main sample application (wxWrapper) you will see a button 'Codegenerieren' in the form 'Anwendungen' (a...
- Wed Dec 16, 2009 11:29 am
- Forum: C++ Development
- Topic: SVG and events or animation in it possible?
- Replies: 1
- Views: 933
SVG and events or animation in it possible?
Hi,
I read the following article and find it interesting. Is the wxSVGDC class capable of doing such things?
Oops, missed link: http://www.xml.com/pub/a/2002/03/27/svg ... ricks.html
If not, is there any other way doing that?
Thanks a lot,
Lothar
I read the following article and find it interesting. Is the wxSVGDC class capable of doing such things?
Oops, missed link: http://www.xml.com/pub/a/2002/03/27/svg ... ricks.html
If not, is there any other way doing that?
Thanks a lot,
Lothar
- Sat Dec 12, 2009 11:53 am
- Forum: C++ Development
- Topic: wxAUI, wxNotebook and sizer problems
- Replies: 0
- Views: 661
wxAUI, wxNotebook and sizer problems
Hi, since the beginning of using wxAUI, wxNotebook and a aui toolbar, I notice some sizer problems. My window has a wxPropgrid window as a left AUI pane, a top AUI toolbar pane and a center pane for my work area of my database forms like the following (T=Toolbar,P=Propgrid pane,W=Workplace,N=wxNoteb...
- Sun Dec 06, 2009 7:06 pm
- Forum: C++ Development
- Topic: Building wxMSW 2.8.10 on Win XP SP 1 with OW 1.8 is broken
- Replies: 0
- Views: 537
Building wxMSW 2.8.10 on Win XP SP 1 with OW 1.8 is broken
I have now tested several times with reinstalling my compiler, wxMSW 2.8.10 and also my own source, but it seems that even only building wxMSW (release / DLL) and the minimal sample I get an error as follows: Application could not initialized properly (0xc0000005). I don't know if this is a wxMSW pr...
- Sun Dec 06, 2009 1:00 pm
- Forum: Compiler / Linking / IDE Related
- Topic: OW 1.8: Trouble compilung or getting success
- Replies: 0
- Views: 626
OW 1.8: Trouble compilung or getting success
Hi, I have trouble compiling wxMSW on Windows 2000 with Open Watcom 1.8 (after upgrading to OW 1.8). My own code (console test applications) was working with OW 1.8, so I don't think it will be the compiler. Reason for it was the actual wxPropgrid version I am trying to migrate to. It required some ...
- Wed Dec 02, 2009 11:55 am
- Forum: C++ Development
- Topic: DLL and implemented functions in header?
- Replies: 0
- Views: 566
DLL and implemented functions in header?
Hi, I am struggling with a problem using implementation of class member functions in headers. The code resides in a DLL, but also the functions of those who are implemented in header are also in the client using that DLL. I have created a sample application and a DLL using OW 1.8 and the following a...
- Sun Nov 29, 2009 9:52 am
- Forum: Compiler / Linking / IDE Related
- Topic: Open Watcom 1.8 and my own WinMain implementation?
- Replies: 1
- Views: 1078
- Wed Nov 25, 2009 12:26 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Open Watcom 1.8 and my own WinMain implementation?
- Replies: 1
- Views: 1078
Open Watcom 1.8 and my own WinMain implementation?
Hi, I am used OW 1.6 until now. After updating to OW 1.8 I get the following error within my own WinMain function: int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { //wxAppInitializer wxTheAppInitializer((wxAppInitializerFunction) wxCreateApp); char* C...
- Sun Nov 08, 2009 12:45 pm
- Forum: Compiler / Linking / IDE Related
- Topic: Thinking about a more modern compiler than Open Watcom
- Replies: 2
- Views: 1413
Thinking about a more modern compiler than Open Watcom
Hi, I tried some CORBA implementations in the hope they will compile with Open Watcom. Due to the fact that none (as I know) of them support Open Watcom directly I think about a new compiler. But, I still want to support older OS versions such as my Windows 2000, as the computer is too old for Vista...
- Sat Nov 07, 2009 7:48 pm
- Forum: General Development
- Topic: Which database library should I use?
- Replies: 2
- Views: 3812
There are really different approaches. I have also written my own database library that is based on some pure abstract classes (interfaces), thus I am able to switch between different variants at runtime. So if you are not sure what to use think about a similar approach. That way the GUI uses your o...