I have over ten thousands items to insert wxGrid (four columns, three columns have own cell render and editor).
wxGrid seems very slow to draw.
Is there any fast way to display many items or virtual way like wxListCtrl does?
Thanks!
Search found 78 matches
- Fri Jul 21, 2023 3:46 pm
- Forum: C++ Development
- Topic: How to treat large amount of items in wxGrid?
- Replies: 1
- Views: 338
- Fri Sep 09, 2022 12:18 am
- Forum: C++ Development
- Topic: wxTipWindow vs wxToolTip used inside wxMathPlot class
- Replies: 11
- Views: 1465
Re: wxTipWindow vs wxToolTip used inside wxMathPlot class
- Tue Sep 06, 2022 2:27 am
- Forum: C++ Development
- Topic: wxTipWindow vs wxToolTip used inside wxMathPlot class
- Replies: 11
- Views: 1465
Re: wxTipWindow vs wxToolTip used inside wxMathPlot class
I think wxTipWindow is just unsuitable for cases when you create a new tooltip every time the mouse moves. Thank you doublemax! Yes, that's just the way that I create a new tooltip every time the mouse moves when I use wxTipWindow. I quoted from wxHtmlHelpController::DisplayTextPopup(). Could you p...
- Mon Sep 05, 2022 12:18 pm
- Forum: C++ Development
- Topic: wxTipWindow vs wxToolTip used inside wxMathPlot class
- Replies: 11
- Views: 1465
Re: wxTipWindow vs wxToolTip used inside wxMathPlot class
But I'm really don't know in my first screen shot, there are so many wxTipWindow shown on the screen. Maybe, the background window not get re-paint? Thanks. That definitely looks like a bug, but i don't know if it's in wxTipWindow or wxMathPlot. But do you really need wxTipWindow, doesn't the nativ...
- Mon Sep 05, 2022 12:04 pm
- Forum: Component Writing
- Topic: wxWidgets modern look
- Replies: 6
- Views: 18355
Re: wxWidgets modern look
nice looks, indeed!
- Fri Apr 08, 2022 4:14 am
- Forum: C++ Development
- Topic: using SetMinSize or SetSizeHints problem in wxScrolledWindow
- Replies: 4
- Views: 493
Re: using SetMinSize or SetSizeHints problem in wxScrolledWindow
Sizers work differently when they're assigned to a wxScrolledWindow. They will only look at the virtual size, not the visible size. Therefore making the window smaller will not cause a re-layout. In order to achieve what you want, you'd need to catch the wxEVT_SIZE event of the scrolled window, and...
- Thu Apr 07, 2022 1:47 pm
- Forum: C++ Development
- Topic: using SetMinSize or SetSizeHints problem in wxScrolledWindow
- Replies: 4
- Views: 493
Re: using SetMinSize or SetSizeHints problem in wxScrolledWindow
demonstration codes: void Create() { wxScrolledWindow* scrollwin = new wxScrolledWindow(parent, wxID_ANY, wxDefaultPosition, wxSize(300, 400), wxVSCROLL|wxNO_BORDER); wxBoxSizer* scrollwinSizer = new wxBoxSizer(wxVERTICAL); scrollwin->SetSizer(scrollwinSizer ); { wxTreeCtrl* optTree = new wxTreeCtrl...
- Thu Apr 07, 2022 1:32 pm
- Forum: C++ Development
- Topic: using SetMinSize or SetSizeHints problem in wxScrolledWindow
- Replies: 4
- Views: 493
using SetMinSize or SetSizeHints problem in wxScrolledWindow
Hi all, I'm using 3.1.0 and I'm always tricked by SetMinSize or SetSizeHints these days. I have a wxScrolledWindow and some GUI controls placed in it. I want to change the size of one child control(like wxTreeCtrl) to fit the whole height of wxScrolledWindow. If I use SetMinSize or SetSizeHints to s...
- Wed Jun 23, 2021 6:48 am
- Forum: C++ Development
- Topic: How to capture wxSizeEvent caused by double-clicking on window titlebar?
- Replies: 6
- Views: 1969
Re: How to capture wxSizeEvent caused by double-clicking on window titlebar?
wxMaximizeEvent can only capture the maximize message, it can't capture the size changing by double-clicking on window titlebar.
- Wed Jun 23, 2021 6:36 am
- Forum: C++ Development
- Topic: How to capture wxSizeEvent caused by double-clicking on window titlebar?
- Replies: 6
- Views: 1969
- Wed Jun 23, 2021 3:13 am
- Forum: C++ Development
- Topic: How to capture wxSizeEvent caused by double-clicking on window titlebar?
- Replies: 6
- Views: 1969
How to capture wxSizeEvent caused by double-clicking on window titlebar?
Hi all,
I bind wxSizeEvent on wxFrame, but I can't receive the resize event if double-clicking on window titlebar. It can be received if I drag the border of window.
How should I do?
Thanks!
I bind wxSizeEvent on wxFrame, but I can't receive the resize event if double-clicking on window titlebar. It can be received if I drag the border of window.
How should I do?
Thanks!
- Mon Jun 29, 2020 6:37 am
- Forum: C++ Development
- Topic: do preview in wxFileDialog
- Replies: 2
- Views: 594
do preview in wxFileDialog
Hi all, Is it possible do something about preview in wxFileDialog when I select a file? Surely, this file has its special format, I need popup another panel to show it. I checked the document about wxFileDialog, it seems no way to hook up my callback. How can I do this or other ways to do it? Thanks!
- Tue Apr 07, 2020 7:36 am
- Forum: C++ Development
- Topic: Is it possible set label of buttonbar individually?
- Replies: 0
- Views: 13876
Is it possible set label of buttonbar individually?
I know use
artProvider->SetFont(wxRIBBON_ART_BUTTON_BAR_LABEL_FONT, ft);
artProvider->SetColour(wxRIBBON_ART_BUTTON_BAR_LABEL_COLOUR, color);
could be done.
But it works for all of lable in ribbonbar.
Can I set font and color of label for buttonbar individually?
Thanks!
artProvider->SetFont(wxRIBBON_ART_BUTTON_BAR_LABEL_FONT, ft);
artProvider->SetColour(wxRIBBON_ART_BUTTON_BAR_LABEL_COLOUR, color);
could be done.
But it works for all of lable in ribbonbar.
Can I set font and color of label for buttonbar individually?
Thanks!
- Tue Apr 07, 2020 7:33 am
- Forum: C++ Development
- Topic: How to display math formula or symbol in wxWidgets?
- Replies: 7
- Views: 3014
Re: How to display math formula or symbol in wxWidgets?
Thank you, ollydbg23!ollydbg23 wrote: ↑Tue Mar 24, 2020 12:57 am https://github.com/NanoMichael/cLaTeXMath
I found another good latex render library.
It looks good.
- Sun Mar 22, 2020 7:06 am
- Forum: C++ Development
- Topic: How to display math formula or symbol in wxWidgets?
- Replies: 7
- Views: 3014
Re: How to display math formula or symbol in wxWidgets?
I mean this kind of math formula or express:
https://upload.wikimedia.org/wikipedia/ ... ession.png
https://upload.wikimedia.org/wikipedia/ ... ession.png