Is this wxWidgets related?
In any case, please be more specific about what you're trying to do, and what the problem is.
Search found 19126 matches
- Wed Apr 10, 2024 5:32 pm
- Forum: wxWidgets Development (Russian)
- Topic: GUI из DLL\so
- Replies: 1
- Views: 17
- Wed Apr 10, 2024 4:38 pm
- Forum: C++ Development
- Topic: Capturing keys
- Replies: 7
- Views: 133
Re: Capturing keys
And I still think that's buggy, the way a wxMessageBox() causes the 1) switch to repeat itself 4 times, or 2) the method to loop 4 times. I doubt it's a bug. Showing a new window changes the keyboard focus, so bad things can happen if you're inside a key event handler. On top of that, EVT_CHAR_HOOK...
- Tue Apr 09, 2024 10:10 pm
- Forum: C++ Development
- Topic: Capturing keys
- Replies: 7
- Views: 133
Re: Capturing keys
Some i expected that you bind all key event types to that handler. Maybe it's the messagebox that messes things up, try something non-intrusive like wxLogDebug for debugging. If you're under Windows and your IDE does not display the wxLogDebug output, use https://learn.microsoft.com/en-us/sysinterna...
- Tue Apr 09, 2024 9:53 pm
- Forum: C++ Development
- Topic: Capturing keys
- Replies: 7
- Views: 133
Re: Capturing keys
Which events did you bind to this event handler?
I suggest to build and run the "keyboard" sample that comes with wxWidgets.
I suggest to build and run the "keyboard" sample that comes with wxWidgets.
- Mon Apr 08, 2024 8:58 pm
- Forum: Announcements and Discoveries
- Topic: PDF Viewer
- Replies: 3
- Views: 2913
Re: PDF Viewer
wxPDFView probably needs less memory, but now that we have proper webview support on all platform, i just use that to display PDFs.
- Mon Apr 08, 2024 5:25 am
- Forum: C++ Development
- Topic: wxTextCtrl with wxIntegerValidator<T> gives different result for ENTER and button
- Replies: 6
- Views: 197
Re: wxTextCtrl with wxIntegerValidator<T> gives different result for ENTER and button
It works except when entering 0 into the wxTextCtrl. With starting via button the action routine gets 1, when started with ENTER it gets 0 I can't reproduce this. When i enter nothing, i get the "number is too large" message. Entering "0" is not directly possible as the validato...
- Sun Apr 07, 2024 1:51 pm
- Forum: C++ Development
- Topic: Two queries slowing down things
- Replies: 2
- Views: 287
Re: Two queries slowing down things
The main issue here is that the changes you made to the gui usually only become visible when the system had an opportunity to process the respective paint events. But that only happens after your event handler is finished. You can force an immediate update by calling Refresh() and Update() on the ch...
- Fri Apr 05, 2024 7:31 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxImage to base64
- Replies: 2
- Views: 1053
Re: wxImage to base64
Save the data into wxMemoryOutputStream instead of a local file.
https://docs.wxwidgets.org/trunk/classw ... tream.html
https://docs.wxwidgets.org/trunk/classw ... tream.html
- Fri Apr 05, 2024 12:15 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 4322
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: 4322
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: 4322
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: 4322
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: 4586
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: 4586
- Thu Apr 04, 2024 12:43 pm
- Forum: C++ Development
- Topic: wxListBox is not triggering events on custom pop up window
- Replies: 22
- Views: 4322
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.