Search found 19133 matches
- Fri Apr 05, 2024 12:15 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
That shouldn't happen with the version i posted. -> yes, the focus is there but I see lag even with 100 items. Like i wrote, i think this is because i used wxSimpleHtmlListbox for the example. I would expect an own implementation using wxVListBox should be able to handle 500 items. I haven't tested...
- Fri Apr 05, 2024 7:48 am
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
1. I have one doubt if I built my own wxVListBox, Will it be slow for huge item list? I have got the below text from documentation. Yes. But how many items do yo intend to have here? 2. Also, I accidentally deleted my code for my previous post. How can I revert it back to the previous version? Sorr...
- Thu Apr 04, 2024 6:27 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
I once built a similar popup myself, but it has quite a few dependencies on non-wx classes that i couldn't share it easily. After comparing my code to yours i realized that the only reason my code worked, was because i used a custom control for the listbox based on wxVListBox. So i replaced wxListBo...
- Thu Apr 04, 2024 4:23 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
I don't think that issue is relevant in your case.
I'll need some time to digest your code, but i'll look into it.
I'll need some time to digest your code, but i'll look into it.
- Thu Apr 04, 2024 1:40 pm
- Forum: C++ Development
- Topic: Automatically delete detached wxThread after Entry() call
- Replies: 7
- Views: 12837
Re: Automatically delete detached wxThread after Entry() call
I think the problem is that you're deriving from wxThreadHelper. If you don't intent to use it as a mix-in, try just deriving from wxThread directly.
- Thu Apr 04, 2024 12:49 pm
- Forum: C++ Development
- Topic: Automatically delete detached wxThread after Entry() call
- Replies: 7
- Views: 12837
- Thu Apr 04, 2024 12:43 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
You definitely need the wxPU_CONTAINS_CONTROLS flag.
Please show the current code.
Please show the current code.
- Thu Apr 04, 2024 12:42 pm
- Forum: C++ Development
- Topic: Show wxListView items similar to wxListBook without any headings
- Replies: 2
- Views: 4477
Re: Show wxListView items similar to combobox items without any headings
For a single column display you'll need to use wxLC_REPORT. But in that case you'll also have to create a column yourself. m_listView = new wxListView(this, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxLC_REPORT|wxLC_NO_HEADER); m_listView->AppendColumn("", wxLIST_FORMAT_LEFT, wxLIST_AUTO...
- Thu Apr 04, 2024 10:04 am
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
yes, you are correct. As per the documentation I am asking this question. I need to try on MAC. But I don't have MAC setup. I will try to get it and will try on MAC. It is my understanding that under OSX it would work without that flag, but you can still pass it so you don't have to use conditional...
- Thu Apr 04, 2024 8:35 am
- Forum: Platform Related Issues
- Topic: Wildcard Filter for files without extension like "crontab"
- Replies: 9
- Views: 13521
Re: Wildcard Filter for files without extension like "crontab"
Sounds like a bug to me.rocrail wrote: ↑Thu Apr 04, 2024 8:34 am I tested this one:
does not work under macOS.Code: Select all
MyText (mytext)|mytext
- Thu Apr 04, 2024 8:34 am
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 11111
Re: wxListBox is not triggering events on custom pop up window
Did you try it and it didn't work under OSX? Or are you just asking because the documentation says this flag is MSW only?nandi_shan wrote: ↑Thu Apr 04, 2024 8:18 am After creating the popup with wxPU_CONTAINS_CONTROLS flag. List Box Events wxEVT_LISTBOX_DCLICK and wxEVT_LISTBOX are triggering. Any suggestion on how to handle this on MAC?
- Thu Apr 04, 2024 8:30 am
- Forum: Platform Related Issues
- Topic: Wildcard Filter for files without extension like "crontab"
- Replies: 9
- Views: 13521
Re: Wildcard Filter for files without extension like "crontab"
Under Debian it works as expected with wxWidgets 3.2.4 Should I report this as macOS bug? PS: Under Windows its also OK. In that case, yes. Does this happen with any file without extension, or is it just crontab? (Maybe OSX thinks it's some kind of system file, or that you don't have the access rig...
- Thu Apr 04, 2024 7:47 am
- Forum: Platform Related Issues
- Topic: Wildcard Filter for files without extension like "crontab"
- Replies: 9
- Views: 13521
Re: Wildcard Filter for files without extension like "crontab"
Does this happen on all platforms?
Is it possible that the file is hidden? Try adding the wxFD_SHOW_HIDDEN flag.
Is it possible that the file is hidden? Try adding the wxFD_SHOW_HIDDEN flag.
- Tue Apr 02, 2024 9:18 am
- Forum: C++ Development
- Topic: ComboCtrl and ComboPopup focuses can't set at the same time
- Replies: 43
- Views: 26750
Re: ComboCtrl and ComboPopup focuses can't set at the same time
Code: Select all
MyPopupWindow* newPopup = new MyPopupWindow(this);
Let's suppose i press 'A', then you create the popup window and show it. But this instance will never get destroyed.
- Tue Apr 02, 2024 8:26 am
- Forum: C++ Development
- Topic: ComboCtrl and ComboPopup focuses can't set at the same time
- Replies: 43
- Views: 26750
Re: ComboCtrl and ComboPopup focuses can't set at the same time
I have no explanation for this. Can you show some code in context?