Hm...
Freeze()/Thaw() seems to be helping me more than Hide()/Show().
Thanks,
Daniel
Search found 79 matches
- Thu Nov 20, 2014 2:51 pm
- Forum: C++ Development
- Topic: Flicker on Aui pane creation
- Replies: 4
- Views: 1768
- Wed Nov 19, 2014 9:52 am
- Forum: C++ Development
- Topic: Flicker on Aui pane creation
- Replies: 4
- Views: 1768
Re: Flicker on Aui pane creation
The most simple example in the wxAui documentation exhibits the same problem: wxTextCtrl* text1 = new wxTextCtrl(this, -1); /* At this point text1 is visible as a direct child in the upper left corner, this is not our intended use of text1 */ ... m_mgr.AddPane(text1, wxLEFT, "Pane Caption"...
- Tue Nov 18, 2014 7:59 pm
- Forum: C++ Development
- Topic: Flicker on Aui pane creation
- Replies: 4
- Views: 1768
Re: Flicker on Aui pane creation
Hi Manolo, Sorry, I don't quite follow your suggestions. I'll try to explain more carefully. The wxGLCanvas (embedded in a wxPanel) is "just" one of the Aui panes. I have like 15 different possible panes, some are visible (on the right side are some) but most are not. All the panes are on ...
- Tue Nov 18, 2014 11:10 am
- Forum: C++ Development
- Topic: Flicker on Aui pane creation
- Replies: 4
- Views: 1768
Flicker on Aui pane creation
Hi, I'm having an annoying flicker when creating a fresh Aui pane. This is a typical code fragment: void c_TimedModifiersFrame::CreateTimerAuiPane(void) { if (m_TimerPanel==NULL) { m_TimerPanel = new c_TimerPanel; m_TimerPanel->CreateMyView(this, m_TimedModifiersAppModel->GetTimerModel()); AddView(m...
- Fri Sep 19, 2014 10:45 pm
- Forum: C++ Development
- Topic: Order of recursive expanding/collapsing in a wxDataViewCtrl
- Replies: 0
- Views: 1105
Order of recursive expanding/collapsing in a wxDataViewCtrl
Hi, This took me (too) long to figure out. If you want to "Expand All" recursively you have to expand the parent first and then the children. If you want to "Collapse All" recursively you have to collapse the children first and then the parent. This makes a bit of sense: "be...
- Fri Sep 12, 2014 10:59 am
- Forum: C++ Development
- Topic: wxRadioBox not wide enough
- Replies: 0
- Views: 963
wxRadioBox not wide enough
Hi, I'm constantly fighting the width of wxRadioBoxes. I would expect that it would take the widest item and size according to that? But it doesn't, if the item is too long, it just "trims" it. Does anyone know if this is a bug or is there a known solution to get them right? Thanks, Daniel...
- Mon Sep 01, 2014 10:26 am
- Forum: C++ Development
- Topic: Just a note of caution about socket reading/writing.
- Replies: 0
- Views: 878
Just a note of caution about socket reading/writing.
Although ReadMsg() and WriteMsg() are convenient, they are slow.
Just replaced them with Read() and Write() which is a bit harder to implement (use your own network buffers) but ping reduced from 0.4(s) to 0.003(s).
That is a factor of 100+.
Thanks,
Daniel Dekkers
Just replaced them with Read() and Write() which is a bit harder to implement (use your own network buffers) but ping reduced from 0.4(s) to 0.003(s).
That is a factor of 100+.
Thanks,
Daniel Dekkers
- Sun Jul 13, 2014 10:48 am
- Forum: C++ Development
- Topic: Server and Socket event handling in a single server.
- Replies: 3
- Views: 1718
Re: Server and Socket event handling in a single server.
Ok, thanks.
I've managed to use a single event handler for both the server socket and the client connection sockets.
Just differentiate using GetSocket() on the events in the handler.
Daniel
I've managed to use a single event handler for both the server socket and the client connection sockets.
Just differentiate using GetSocket() on the events in the handler.
Daniel
- Thu Jul 10, 2014 1:16 pm
- Forum: C++ Development
- Topic: Server and Socket event handling in a single server.
- Replies: 3
- Views: 1718
Re: Server and Socket event handling in a single server.
... or should I create a single OnEventHandle() handler that internally checks if it is a server or a socket event?
- Thu Jul 10, 2014 1:04 pm
- Forum: C++ Development
- Topic: Server and Socket event handling in a single server.
- Replies: 3
- Views: 1718
Server and Socket event handling in a single server.
Hi, I'm creating a client/server component with wxSockets. It works with a single client and a single server but now I would like to handle multiple clients on a (single) server. I have a server class c_NetworkServer which holds a wxSocketServer* attribute and a list of clients (std::list<wxSocketBa...
- Wed Jun 11, 2014 11:06 am
- Forum: C++ Development
- Topic: Best place to put wxGLContext
- Replies: 1
- Views: 875
Best place to put wxGLContext
Hi,
I see different methods used in examples and in forums.
Is the proper "2014 way" to place a single instance on application level where a canvas asks for it when needed.
Or is it best to have an instance in every canvas you might have?
Thanks,
Daniel Dekkers
I see different methods used in examples and in forums.
Is the proper "2014 way" to place a single instance on application level where a canvas asks for it when needed.
Or is it best to have an instance in every canvas you might have?
Thanks,
Daniel Dekkers
- Sun Jun 01, 2014 7:36 am
- Forum: C++ Development
- Topic: Size of Aui panel
- Replies: 9
- Views: 3719
Re: Size of Aui panel
Yeah, remembered something like that was the situation.
And it's on the roadmap for 3.2, ok.
In the meantime I will do with what there is (which is quite a lot actually).
And it's on the roadmap for 3.2, ok.
In the meantime I will do with what there is (which is quite a lot actually).
- Sat May 31, 2014 2:03 pm
- Forum: C++ Development
- Topic: Size of Aui panel
- Replies: 9
- Views: 3719
Re: Size of Aui panel
Please don't tell me the Aui framework was made by a single person.
He/She is gone. And nobody else understands the code.
He/She is gone. And nobody else understands the code.
- Sat May 31, 2014 8:37 am
- Forum: C++ Development
- Topic: Size of Aui panel
- Replies: 9
- Views: 3719
Re: Size of Aui panel
Setting 0 maximizes (only the captions of the other panes remain). Setting a negative value minimizes (only the caption of the pane remains, no client area). But if you set a negative number and a MinSize that minimum is respected. So that "solves" it. But its all not very intuitive. Reaso...
- Fri May 30, 2014 5:59 pm
- Forum: C++ Development
- Topic: Size of Aui panel
- Replies: 9
- Views: 3719
Re: Size of Aui panel
Ok, thanks, that works.
And there is no way to give an absolute size for docked panes? Sometimes proportions are what you want, but in some cases (like the CurrentCamera pane above) you would want an absolute size, with the other panes dividing the rest.
And there is no way to give an absolute size for docked panes? Sometimes proportions are what you want, but in some cases (like the CurrentCamera pane above) you would want an absolute size, with the other panes dividing the rest.