Search found 265 matches

by iwbnwif
Fri Mar 15, 2019 10:25 am
Forum: C++ Development
Topic: How to create such a layout?
Replies: 23
Views: 333

Re: How to create such a layout?

The only problem is that the horizontal scrollbar will cover the whole width of the control, including the the row label area. Which looks kind of weird. True, but presumably it is possible to use ShowScrollbars to hide the horizontal one and then add a wxScrollBar of the right width below the grid...
by iwbnwif
Fri Mar 15, 2019 7:58 am
Forum: C++ Development
Topic: How to create such a layout?
Replies: 23
Views: 333

Re: How to create such a layout?

Can't you derive from wxGridRowHeaderRenderer and draw row headers without a border or background?
by iwbnwif
Wed Jul 18, 2018 1:15 pm
Forum: C++ Development
Topic: 2D-Plots
Replies: 44
Views: 2799

Re: 2D-Plots

@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
Replies: 44
Views: 2799

Re: 2D-Plots

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
Replies: 44
Views: 2799

Re: 2D-Plots

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: 1459

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: 427

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: 1836

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: 644

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: 1265

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: 1265

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: 1265

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: 1735

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: 2802

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 solut...
by iwbnwif
Thu Aug 31, 2017 12:47 pm
Forum: C++ Development
Topic: current preferred method of executing async sub-processes
Replies: 3
Views: 646

Re: current preferred method of executing async sub-processes

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 see if you still get ...