Search found 10 matches

by Thomas Lehmann
Thu May 14, 2009 12:50 pm
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

You mean: a) handle an own scrollbar by myself ? b) displaying as many rows as required ? About a) OK. About b) How? The number also depends on the heights of the individual rows. What happens when resizing a widget containing a grid? Could you please given a few hints? Finally) Why is this all not ...
by Thomas Lehmann
Thu May 14, 2009 8:27 am
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

And of course here the child window code: MyChild::MyChild(wxMDIParentFrame* parent) : wxMDIChildFrame(parent, wxID_ANY, "Simple MDI Child", wxDefaultPosition , wxDefaultSize , wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE) , _table(0) , _grid(0) { _table = new SimpleGridData; _grid = new wxGr...
by Thomas Lehmann
Thu May 14, 2009 8:24 am
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

You wanna make a joke with me? :) I have never seen a table on a screen displaying 10000 rows at once! You have to handle the rows and the column you really can see. Well, it might be a performance issue to configure to have a little bit more before and after the area you can see but not all! GetNum...
by Thomas Lehmann
Thu May 14, 2009 7:37 am
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

The problem is SetOrCalcRowSizes . Triggered by OnNewGrid this method is iterating over 10000 rows calling AutoSizeRow . As I said before - I can see five rows only when starting my small child window and I have to wait for this windows 3-4 seconds (Pentium Quad Core, Windows XP). Bug or wrong way o...
by Thomas Lehmann
Thu May 14, 2009 6:18 am
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

may be because of return 10000; ?
This should be the count of data rows not
the number of visible rows! Right?

Does anybody else know something better?

kindly
Thomas
by Thomas Lehmann
Wed May 13, 2009 3:20 pm
Forum: C++ Development
Topic: wxGrid: Performance...
Replies: 9
Views: 1109

wxGrid: Performance...

I really have been reading many forum entries but nobody is really telling about what wxGrid really does when trying to display data. I'm creating a custom wxGridTableBase overwriting "GetValue" this way: wxString SimpleGridData::GetValue(int row, int col) { std::ostringstream stream; stream << "r:"...
by Thomas Lehmann
Wed May 13, 2009 12:21 pm
Forum: C++ Development
Topic: Statusbar in MDI environment.
Replies: 3
Views: 497

Aahh, I have no problem to make it visible. I have pepared a menu item to show/hide the statusbar. Using an event method "OnStatusBar" I'm trying to do so. Here the code: (This is not working for wxMDIParentFrame) void MyFrame::OnStatusBar(wxCommandEvent& event) { if (GetStatusBar()) { GetStatusBar(...
by Thomas Lehmann
Wed May 13, 2009 8:26 am
Forum: C++ Development
Topic: Statusbar in MDI environment.
Replies: 3
Views: 497

Statusbar in MDI environment.

Hi! I have started to eval wxWidgets for our purposes in the company. I have been creating a simple frame with a menu using show/hide of the statusbar (working fine). Replacing the wxFrame by wxMDIParentFrame the statusbar does not vanish until I'm resizing the frame. In addition - when adding a MDI...
by Thomas Lehmann
Mon Jun 18, 2007 6:31 am
Forum: General Development
Topic: What flow of programming and tools do you use?
Replies: 38
Views: 28908

Not really in order... 1) Well, the most common problem to developers is analyzing the source code. Therefor I found out for myself the VIM together with ctags and cscope does the job very well. - Where is a symbol used? - Where is method called? - Where is a method defined? - ... I'm knowing there ...
by Thomas Lehmann
Tue Jun 05, 2007 6:12 am
Forum: General Development
Topic: Switching from Motif to wxWidgets (step by step)?
Replies: 0
Views: 319

Switching from Motif to wxWidgets (step by step)?

Hi, I would like to know wether it's possible to do a step by step conversion to wxWidgets for a given application (big one) actually using Motif... "Step by step" would mean using both GUI's for a while (when possible)! Two problem issues I see are (at least): - the mainloop. - passing the "parent ...