Search found 263 matches

by iwbnwif
Wed Jul 18, 2018 1:15 pm
Forum: C++ Development
Topic: 2D-Plots [SOLVED]
Replies: 44
Views: 690

Re: 2D-Plots [SOLVED]

@mill-j I haven't used wxQT before but I will try to take a look at it at some point. I too am not a fan of the ./configure build generator (Autotools?) but the popular alternative (CMake) doesn't seem much better. I guess I will have to bite the bullet at some point and learn one or the other prope...
by iwbnwif
Tue Jul 17, 2018 11:02 am
Forum: C++ Development
Topic: 2D-Plots [SOLVED]
Replies: 44
Views: 690

Re: 2D-Plots [SOLVED]

wxChartPanel is subclassed from wxScrolledWindow, aka wxScrolled<wxPanel> in recent versions of wxWidgets. So the behavior will be the same as for wxScrolledWindow in this respect. I always use sizers so haven't tried with fixed positioning, however if you are adding the wxChartPanel to a sizer then...
by iwbnwif
Mon Jul 16, 2018 5:49 pm
Forum: C++ Development
Topic: 2D-Plots [SOLVED]
Replies: 44
Views: 690

Re: 2D-Plots [SOLVED]

Hi, I have been away from the forum for a few weeks and missed this topic before now. Sadly, I haven't been able to work on any updates to wxFreeChart for quite a while, but I really hope that will change later in the year and I can again spend some time on the project. Please do raise an issue for ...
by iwbnwif
Sun Apr 22, 2018 8:09 am
Forum: C++ Development
Topic: wxRibbon Office 2010 / Metro ArtProvider
Replies: 5
Views: 1245

Re: wxRibbon Office 2010 / Metro ArtProvider

Did you see my other post here:

viewtopic.php?f=21&t=37348

There is a flat 'office' look version class at the end you can look at.
by iwbnwif
Wed Jan 17, 2018 11:14 am
Forum: C++ Development
Topic: Collapsable wxGrid
Replies: 3
Views: 252

Re: Collapsable wxGrid

Hi Nunki, I also wanted to do something like this a couple of years ago. I searched for a suitable control but was not successful. The problem with wxDataViewCtrl is that all the collapsing is done in the first column. We wanted the top level branches in the first column, second level branches in th...
by iwbnwif
Mon Jan 08, 2018 12:36 pm
Forum: General Development
Topic: Report Desinger plugin ??? Urgent !
Replies: 10
Views: 1312

Re: Report Desinger plugin ??? Urgent !

It is also worth considering Lime Report (http://limereport.ru/en/index.php) in this category, although it is unfortunately Qt and not wxWidgets.

However, it can still be integrated into any C++ application with suitable libraries.
by iwbnwif
Sat Sep 23, 2017 8:03 pm
Forum: C++ Development
Topic: i only want to have horicontal lines in my grid
Replies: 5
Views: 401

Re: i only want to have horicontal lines in my grid

You need to subclass wxGrid (as I think you have done with MidiGrid) and override the function as suggested by Doublemax. In the overridden function, you just need to return a null pen, e.g. midigrid.h could look something like this: #include <wx/grid.h> // Base class: wxGrid #include <wx/pen.h> cla...
by iwbnwif
Sun Sep 10, 2017 8:41 am
Forum: General Development
Topic: wxFreeChart realtime plot
Replies: 7
Views: 635

Re: wxFreeChart realtime plot

Hmm, interesting. I didn't find that version before.

I may have a look at it, but at the moment the priority for me is to improve the documentation and implement zooming and panning - sorry.
by iwbnwif
Fri Sep 08, 2017 10:10 pm
Forum: General Development
Topic: wxFreeChart realtime plot
Replies: 7
Views: 635

Re: wxFreeChart realtime plot

If it is a smooth scrolling display that you are trying to achieve, then I think it would be quite hard to do with the current wxFreeChart. That is because it is basically designed to draw multipurpose charts similar to Microsoft Excel. To achieve smooth scrolling, then the whole chart area needs to...
by iwbnwif
Fri Sep 08, 2017 7:27 pm
Forum: General Development
Topic: wxFreeChart realtime plot
Replies: 7
Views: 635

Re: wxFreeChart realtime plot

Hi, I don't think it is possible for wxFreeChart to update at this rate because of the underlying way in which it works. Also, it is single threaded currently. The best option is for you to capture your data points into your own buffer and then update the chart at a much slower speed (if you want to...
by iwbnwif
Thu Aug 31, 2017 6:21 pm
Forum: Component Writing
Topic: wxGraphicsContex Text Drawing
Replies: 8
Views: 1013

Re: wxGraphicsContex Text Drawing

Since my problem is associated only with DrawText(), I've temporarily moved all my TextDrawing functionality to non-GraphicsContext drawing. Actually, I have found this to be a better solution. It is possible to draw using both a 'normal' wxDC and a wxGCDC onto the same DC. I found that the text lo...
by iwbnwif
Thu Aug 31, 2017 1:52 pm
Forum: C++ Development
Topic: Taking and saving screenshots
Replies: 33
Views: 1824

Re: Taking and saving screenshots

[EDIT3:] I think it's safe to say, that the screenshot doesn't like transparency at all. See window frame in the second applied picture. I had similar problems as you can see in the YouTube video linked in this post: https://forums.wxwidgets.org/viewtopic.php?f=1&t=41448#p169981 I believe the s...
by iwbnwif
Thu Aug 31, 2017 12:47 pm
Forum: C++ Development
Topic: current preferred method of executing async sub-processes [SOLVED]
Replies: 3
Views: 424

Re: current preferred method of executing async sub-processes [SOLVED]

The following works for me on Windows 10 using the latest development version of wxWidgets from GitHub. wxShell("echo. 2> test.docx"); wxExecute("C:\\Program Files (x86)\\Microsoft Office\\root\\Office16\\WINWORD.EXE /t test.docx", wxEXEC_ASYNC); You might like to try these and s...
by iwbnwif
Thu Aug 31, 2017 9:40 am
Forum: C++ Development
Topic: Error: trying to encode undefined Unicode character [SOLVED]
Replies: 4
Views: 457

Re: Error: trying to encode undefined Unicode character [SOLVED]

Yes, that was it!

Of course, it is obvious now. This asserts:

Code: Select all

wxLogMessage ("but remains 100% compatible");


But this is fine:

Code: Select all

wxLogMessage ("but remains 100%% compatible");


Many thanks for your help =D> I only wish the assert message could be a little less cryptic!
by iwbnwif
Thu Aug 31, 2017 8:08 am
Forum: C++ Development
Topic: Error: trying to encode undefined Unicode character [SOLVED]
Replies: 4
Views: 457

Re: Error: trying to encode undefined Unicode character [SOLVED]

Good call DM! wxString doc = stream.GetString(); wxLogMessage ("%s", doc); Works as expected, whilst ... wxString doc = stream.GetString(); wxLogMessage (doc); ... doesn't (asserts as described in OP). It would have been interesting to see the content of a "bad" string. With one ...

Go to advanced search