Thanks for the link!
Don't know way but I used your method and if I click on a col it doesn't sort the ListCtrl the table is not sorted
Search found 83 matches
- Fri Sep 28, 2018 7:30 am
- Forum: C++ Development
- Topic: Bubble Sort for a wxListCtrl?
- Replies: 11
- Views: 1860
- Thu Sep 27, 2018 9:07 pm
- Forum: C++ Development
- Topic: Bubble Sort for a wxListCtrl?
- Replies: 11
- Views: 1860
Re: Bubble Sort for a wxListCtrl?
Cool ! I will look it up sure..can I answer to this thread, some days from now, to explain what I understood studying what I miss for the whole knowledge of this argument, to make sure that it will be all right?
- Thu Sep 27, 2018 8:56 pm
- Forum: C++ Development
- Topic: Bubble Sort for a wxListCtrl?
- Replies: 11
- Views: 1860
Re: Bubble Sort for a wxListCtrl?
First of all, many thanks, your help is very precious! I wanted to try both bubble-sort and quick sort because I didn't understand what to put as the argument of MyCompareFunction; I mean, you write m_item_list->SortItems(MyCompareFunction, (long)m_item_list); I did the mistake to do m_item_list->So...
- Thu Sep 27, 2018 8:32 pm
- Forum: C++ Development
- Topic: Bubble Sort for a wxListCtrl?
- Replies: 11
- Views: 1860
Bubble Sort for a wxListCtrl?
Hello:) I tried to write a BubbleSort function to sort easily a wxListCtrl..but it doesn't work, because I have the error "Couldn't retrieve information about list control item 0" ; "Couldn't retrieve information about list control item 1 " and so on... The table has the format &...
- Thu Sep 20, 2018 8:39 pm
- Forum: C++ Development
- Topic: WxListCtrl sortable
- Replies: 5
- Views: 1901
Re: WxListCtrl sortable
many thanks to both of you guys, very appreciated your help )
- Wed Sep 19, 2018 3:39 pm
- Forum: C++ Development
- Topic: WxListCtrl sortable
- Replies: 5
- Views: 1901
Re: WxListCtrl sortable
For now no, it doesn't ..
I can do a button doing this but I was wondering if there is an easier way to do it:)
I can do a button doing this but I was wondering if there is an easier way to do it:)
- Wed Sep 19, 2018 12:21 pm
- Forum: C++ Development
- Topic: WxListCtrl sortable
- Replies: 5
- Views: 1901
WxListCtrl sortable
Hi everybody! Is there a way to make a wxListCtrl sortable only if the user clicks on the header? I 've already tried with the style wxLC_SORT but it does not do what I want it to do.. Example: I have a wxListCtrl in report mode where in each line I have 3 cols: name, surname, age and I wait to sort...
- Sun Sep 16, 2018 11:21 am
- Forum: C++ Development
- Topic: How to "capture" a wxTextCtrl changed by the user?
- Replies: 2
- Views: 1964
Re: How to "capture" a wxTextCtrl changed by the user?
oooh thank you very much...I tried using GetLabel() and GetLabelText but these 2 didn't give me the expected value.
I will try with your method! Thanks again!
I will try with your method! Thanks again!
- Sun Sep 16, 2018 10:26 am
- Forum: C++ Development
- Topic: How to "capture" a wxTextCtrl changed by the user?
- Replies: 2
- Views: 1964
How to "capture" a wxTextCtrl changed by the user?
Hi guys, I'm writing some code where there is a wxTextCtrl, with the style wxTE_PROCESS_ENTER. I associated the textCtrl to an event with BIND that works when the user changes the tc. I wrote a function that does the following: when the user changes the wxTextCtrl manually, a wxString takes the new ...
- Thu Aug 09, 2018 8:58 pm
- Forum: C++ Development
- Topic: Change widgets' size
- Replies: 3
- Views: 832
Re: Change widgets' size
You're right..so,
https://ibb.co/fHxjmU
I would like to have something like this image but with a bigger wxStaticText.
I will follow your advice, now I go immediately to see wxGridSizer
https://ibb.co/fHxjmU
I would like to have something like this image but with a bigger wxStaticText.
I will follow your advice, now I go immediately to see wxGridSizer
- Thu Aug 09, 2018 2:36 pm
- Forum: C++ Development
- Topic: Change widgets' size
- Replies: 3
- Views: 832
Change widgets' size
Hi everyone:) I have a question appereantly easy but I can't figure them out.. I'm trying to understand how the sizers work in wxWidgets, so i followed this tutorial http://zetcode.com/gui/wxwidgets/layoutmanagement/ , because I saw this post linked here in this forum, don't remember when.. Trying t...
- Tue Jul 17, 2018 9:43 am
- Forum: C++ Development
- Topic: 2D-Plots
- Replies: 44
- Views: 10983
Re: 2D-Plots
@mill-j , @iwbn thanks for posting! I think I've found an issue. Considering the code of @mill-j , With these 2 lines const wxPoint pos1 = wxPoint(300, 400); GraphChartPanel = new wxChartPanel(this, wxID_ANY, 0, pos1 , { 500,500 }); I want to put my graph in a precise point and set a precise size..T...
- Fri Jul 13, 2018 3:46 pm
- Forum: C++ Development
- Topic: 2D-Plots
- Replies: 44
- Views: 10983
Re: 2D-Plots
It helped, thank you very much.
You're right, I have to take my time to study more and better this new world.
really appreciated your help
You're right, I have to take my time to study more and better this new world.
really appreciated your help
- Thu Jul 12, 2018 4:00 pm
- Forum: C++ Development
- Topic: 2D-Plots
- Replies: 44
- Views: 10983
Re: 2D-Plots
thank you! I'm trying to do what you suggested . In the meantime , I also looked at this tutorial https://iwbnwif.github.io/freechart_docs/html/index.html but i don't understand one thing; at the step number 5 of the tutorial, they write // Normal wxWidgets form / dialog / sizer stuff goes here, e.g...
- Tue Jul 10, 2018 1:14 pm
- Forum: C++ Development
- Topic: 2D-Plots
- Replies: 44
- Views: 10983
Re: 2D-Plots
Ooh, now I understand! thank you very much @mill-j!
I was wasting my time trying to build only a part!
In order to learn how to make easy 2d-graphs, do you suggest to study the demo sample or other tutorials?
I was wasting my time trying to build only a part!
In order to learn how to make easy 2d-graphs, do you suggest to study the demo sample or other tutorials?