Search found 16 matches

by macsinus
Wed Apr 11, 2018 2:57 pm
Forum: C++ Development
Topic: wxPropertyGrid horizontal scrolling?
Replies: 5
Views: 370

Re: wxPropertyGrid horizontal scrolling?

Hi ONEEYEMAN,
not sure what you mean.
As I wrote above, putting the wxPropertyGrid in a sizer in a wxScrolledWindow doesn't help.
by macsinus
Wed Apr 11, 2018 7:04 am
Forum: C++ Development
Topic: wxPropertyGrid horizontal scrolling?
Replies: 5
Views: 370

Re: wxPropertyGrid horizontal scrolling?

Thanks doublemax. On further reflection I can imagine that this would be difficult to implement efficiently and intuitively - for either the whole grid (which could be large) or at least the displayed portion, the maximum (text) width of the properties would have to be found. In the latter case, the...
by macsinus
Tue Apr 10, 2018 2:34 pm
Forum: C++ Development
Topic: wxPropertyGrid horizontal scrolling?
Replies: 5
Views: 370

Re: wxPropertyGrid horizontal scrolling?

P.S. Vertical scrolling works fine.
by macsinus
Tue Apr 10, 2018 2:32 pm
Forum: C++ Development
Topic: wxPropertyGrid horizontal scrolling?
Replies: 5
Views: 370

wxPropertyGrid horizontal scrolling?

Is there any way to get wxPropertyGrid to allow horizontal scrolling in case of long property values?
Putting the wxPropertyGrid in a sizer in a wxScrolledWindow doesn't help.
Would be nice to have, but I can take "no" for an answer (Microsoft also don't do this in VS2017).
by macsinus
Tue Mar 13, 2018 8:10 am
Forum: Open Discussion
Topic: wxgrid problems
Replies: 3
Views: 1109

Re: wxgrid problems

Understood! 8) The problem is a little more difficult than I thought, though (apart from the fact that I have no experience of working on open-source code). I was thinking in terms of 2 methods: GetFirstSelectedCell() and GetNextSelectedCell() which go through the individually selected cells, rows, ...
by macsinus
Mon Mar 12, 2018 4:50 pm
Forum: Open Discussion
Topic: wxgrid problems
Replies: 3
Views: 1109

Re: wxgrid problems

I do understand the developers' documented reason for this: Please notice this behaviour is by design and is needed in order to support grids of arbitrary size... However, very often this is indeed what is desired and many people have to write the same code. Suggestion: would it be possible to imple...
by macsinus
Fri Feb 02, 2018 3:30 pm
Forum: General Development
Topic: Need wxSingleChoiceDialog using wxHtmlListBox?
Replies: 8
Views: 1077

Re: Need wxSingleChoiceDialog using wxHtmlListBox?

I've attached my solution as a zip file.
Works for me, no guarantees! ;-)
The fbp file is a wxFormBuilder project which I used to generate the base window class.
by macsinus
Wed Jan 31, 2018 10:03 am
Forum: General Development
Topic: Need wxSingleChoiceDialog using wxHtmlListBox?
Replies: 8
Views: 1077

Re: Need wxSingleChoiceDialog using wxHtmlListBox?

I might use HTML for the right-hand panel...
by macsinus
Wed Jan 31, 2018 9:39 am
Forum: General Development
Topic: Need wxSingleChoiceDialog using wxHtmlListBox?
Replies: 8
Views: 1077

Re: Need wxSingleChoiceDialog using wxHtmlListBox?

Thank you eranon - that's elegant, I wasn't aware that the item can be identified with the HitTest method.
In my case I'll stick to the 2-pane solution because the user might prefer to work with the keyboard or a touch-screen rather than the mouse, but it's something I'm glad to have learned.
by macsinus
Wed Jan 31, 2018 7:34 am
Forum: General Development
Topic: Need wxSingleChoiceDialog using wxHtmlListBox?
Replies: 8
Views: 1077

Re: Need wxSingleChoiceDialog using wxHtmlListBox?

Thank you coderrc - that's probably the best way to do it. The tooltip would be a little tricky (to know which item in the ListBox the mouse pointer is over), but I can omit that when I display the description for the selected item prominently (left the list, right the description of the current sel...
by macsinus
Tue Jan 30, 2018 3:53 pm
Forum: General Development
Topic: Recommendation for c++ gui builder?
Replies: 10
Views: 2772

Re: Recommendation for c++ gui builder?

I use wxFormBuilder and am very happy with it. There are some components that it doesn't support, and I'm always careful to save before moving or deleting components around in the tree view (I've known it to crash occasionally), but otherwise I find it super - and it's free! In particular, in compar...
by macsinus
Tue Jan 30, 2018 3:38 pm
Forum: General Development
Topic: Need wxSingleChoiceDialog using wxHtmlListBox?
Replies: 8
Views: 1077

Need wxSingleChoiceDialog using wxHtmlListBox?

My problem is that my users must choose one of a number of machine states which have short identifiers, not particularly meaningful for them. However, for each state there are a number of tests to be performed, and for these there are more meaningful descriptions available. I don't have influence on...
by macsinus
Fri Apr 28, 2017 12:48 pm
Forum: C++ Development
Topic: wxDebugReport MINIDUMP_TYPE
Replies: 0
Views: 763

wxDebugReport MINIDUMP_TYPE

Is there any way of setting a different MINIDUMP_TYPE for getting more information from wxDebugReport::AddDump() or AddAll() if necessary?
by macsinus
Wed Feb 24, 2016 8:02 am
Forum: C++ Development
Topic: What happens when code in Notify() of wxTimer takes longer than the timer interval?
Replies: 4
Views: 855

Re: What happens when code in Notify() of wxTimer takes longer than the timer interval?

Just to confirm - I've now implemented this so and it works like a charm.
Thanks again!
by macsinus
Mon Feb 22, 2016 3:15 pm
Forum: C++ Development
Topic: What happens when code in Notify() of wxTimer takes longer than the timer interval?
Replies: 4
Views: 855

Re: What happens when code in Notify() of wxTimer takes longer than the timer interval?

Hello Eran, thank you for your quick reply and for the good news that the "chained" one-shot timer solution works - I'll go along this route. Somehow I had assumed that the Notify() would be executed within a different thread. Now that I know that it is in the main thread I don't need to have any he...