Search found 329 matches
- Mon Feb 20, 2023 9:43 pm
- Forum: Platform Related Issues
- Topic: ubintu 20.04. wxWidgets 3.2.1 wxTreeCtrl does not auto scroll
- Replies: 3
- Views: 3022
Re: ubintu 20.04. wxWidgets 3.2.1 wxTreeCtrl does not auto scroll
If this also happens in the treectrl sample that comes with wxWidgets, please open a bug report at: https://github.com/wxWidgets/wxWidgets/issues Doublemax, I we read your reply only now, because just now I returned to this post, with problem solved. It only has place in multiselection mode of the ...
- Sun Feb 12, 2023 8:48 pm
- Forum: C++ Development
- Topic: Show dialog without bringing application to front ?
- Replies: 4
- Views: 503
Re: Show dialog without bringing application to front ?
What's the point in showing a dialog, when the app doesn't come to the front? If you want something non-intrusive, try wxNotificationMessage https://docs.wxwidgets.org/trunk/classwx_notification_message.html The "dialogs" sample shows it in action. i want to block user input if there was ...
- Sun Feb 12, 2023 7:48 pm
- Forum: C++ Development
- Topic: Show dialog without bringing application to front ?
- Replies: 4
- Views: 503
Re: Show dialog without bringing application to front ?
Now it's just a wxMessageBox. without parent
wxMessageBox(title, info)
ps. I tested with a parent given (the main frame) - the same bringing to top. no effect
pss.
I see some solution - show the message only if app_frame has focus, or when it gets focus... but is't a bit tricky, imo.
wxMessageBox(title, info)
ps. I tested with a parent given (the main frame) - the same bringing to top. no effect
pss.
I see some solution - show the message only if app_frame has focus, or when it gets focus... but is't a bit tricky, imo.
- Sun Feb 12, 2023 6:05 pm
- Forum: C++ Development
- Topic: Show dialog without bringing application to front ?
- Replies: 4
- Views: 503
Show dialog without bringing application to front ?
Hi! My application is showing a modal message about user inactivity, originated from wxTimer event, but it brings an application to top in window manager. It's not what I need.
Is there a way in wxWidgets to show the modal message without it (bringing to top)?
Thanks
Is there a way in wxWidgets to show the modal message without it (bringing to top)?
Thanks
- Sun Nov 06, 2022 1:20 am
- Forum: Platform Related Issues
- Topic: ubintu 20.04. wxWidgets 3.2.1 wxTreeCtrl does not auto scroll
- Replies: 3
- Views: 3022
ubintu 20.04. wxWidgets 3.2.1 wxTreeCtrl does not auto scroll
couple of days ago I changed my wxWidgets from 3.0.4 -> 3.2.1 and have found few problems. One of them: when i press arrow up/down in wxTreeCtrl - current selected element mark moves up/down, but if it reached the window bottom, tree does not scroll, and the mark becomes invisible, so autoscroll is ...
- Sat Nov 05, 2022 2:31 pm
- Forum: C++ Development
- Topic: why in lastest stable wxWIdgets, the Scintilla (wxStyledTextCtrl) version is of 2016?
- Replies: 4
- Views: 721
Re: why in lastest stable wxWIdgets, the Scintilla (wxStyledTextCtrl) version is of 2016?
> Latest version on github should have Scintilla 3.21.1:
according to scintilla releases page - https://www.scintilla.org/ScintillaHistory.html
the lastest scintilla 3.x is 3.7.6
when lastest scintilla is 5.3.1
according to scintilla releases page - https://www.scintilla.org/ScintillaHistory.html
the lastest scintilla 3.x is 3.7.6
when lastest scintilla is 5.3.1
- Sat Nov 05, 2022 11:35 am
- Forum: C++ Development
- Topic: why in lastest stable wxWIdgets, the Scintilla (wxStyledTextCtrl) version is of 2016?
- Replies: 4
- Views: 721
why in lastest stable wxWIdgets, the Scintilla (wxStyledTextCtrl) version is of 2016?
in lastest stable version - wxWidgets 3.2.1. the scintilla version (wxStyledTextCtrl) is 3.7.2(it reports so), released 30 December 2016.
wtf?
wtf?
- Mon Aug 30, 2021 6:50 pm
- Forum: C++ Development
- Topic: Using crash reporting code from dbugrprt samples crashes
- Replies: 12
- Views: 2504
Re: Using crash reporting code from dbugrprt samples crashes
just skip them. it's my functions to dump stack to console, and getting a dir path to put crash log file in there. ensure_dir(..) creates this if, it not exists. tdump(...) - writes a string to terminal. look at wxWIdgets functions only. ps. to simulate crash, just run this code ///imitates hard err...
- Mon Aug 30, 2021 5:46 pm
- Forum: C++ Development
- Topic: Using crash reporting code from dbugrprt samples crashes
- Replies: 12
- Views: 2504
Re: Using crash reporting code from dbugrprt samples crashes
this code is working in linux. i just copied from my app - it catches exceptions, shows crash dialog and copies crash data to a file. class IdeApplication : public wxApp { IdeFrame *_frame = nullptr; public: ///IDE app ctor IdeApplication() { ///handle fatal exceptions of the app ///kinda installs c...
- Mon Aug 30, 2021 11:43 am
- Forum: C++ Development
- Topic: wrong wxAuiManager perspective while pane is dragged
- Replies: 1
- Views: 1365
Re: wrong wxAuiManager perspective while pane is dragged
this function works. if not all panes are docked - it returns false. ///can manager be closed and perspective saved? bool canPerspectiveBeSaved(wxAuiManager &fman) { wxAuiPaneInfoArray lpanes = fman.GetAllPanes(); for (int i=0; i<lpanes.Count(); ++i){ if (lpanes[i].IsFloating()) return false; } ...
- Mon Aug 30, 2021 10:23 am
- Forum: C++ Development
- Topic: wrong wxAuiManager perspective while pane is dragged
- Replies: 1
- Views: 1365
wrong wxAuiManager perspective while pane is dragged
The problem. If Im dragging a window from one place to another in wxAuiManager, and has not placed it properly, and close a program - wxAuiManager::savePerspective() gives inconvenient result, and future perspective load hides this window and it cannot be properly restored(because it was not placed)...
- Thu Nov 12, 2020 9:45 am
- Forum: C++ Development
- Topic: Prevent app from mice contact bounce
- Replies: 1
- Views: 409
Prevent app from mice contact bounce
Hi! When I m opening a wxMenu, sometimes i see an effect of mice contact bounce, when menu immediately closes after opening or selects a menu element, and i want to protect my app from this effect. It looks like menu event handler has some unwanted events at start(because of mice bounce) and its que...
- Fri Feb 21, 2020 5:11 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxThread и её текущая директория
- Replies: 7
- Views: 13984
Re: wxThread и её текущая директория
а ты программно драйвер пускаешь, через wxExec какой-нибудь? тогда можно также программно менять текущую диру через wxSetWorkingDirectory. меняешь рабочую диру и пускаешь внешнее приложение. тогда оно запустится с этой новой рабочей. типа auto lold= wxGetCwd(); if( wxSetWorkingDirectory("folder...
- Fri Feb 21, 2020 1:08 pm
- Forum: wxWidgets Development (Russian)
- Topic: wxThread и её текущая директория
- Replies: 7
- Views: 13984
Re: wxThread и её текущая директория
ну если текущая папка из потока правильная, то значит дело не в папке.
текущая дира это атрибут процесса, то есть запущенного приложения, и поток как часть приложения, будет ее иметь такой же как и само приложение.
текущая дира это атрибут процесса, то есть запущенного приложения, и поток как часть приложения, будет ее иметь такой же как и само приложение.
- Sun Feb 16, 2020 10:46 am
- Forum: C++ Development
- Topic: processing of custom events
- Replies: 27
- Views: 8525
Re: processing of custom events
who can explain - why to use wxCommandEvent, instead of regular wxThreadEvent, for inter-thread communication?
thanks.
thanks.