Search found 73 matches

by bsenftner
Fri Aug 07, 2020 9:55 pm
Forum: C++ Development
Topic: ramifications of not using sizers?
Replies: 5
Views: 130

Re: ramifications of not using sizers?

Doublemax, Well, I just spent some time setting different monitor scale and font scale settings on a range of different systems, and I'm getting the layout I expect. But then again, I am extremely explicit in all my font usage. Every place I create a wxWindow or control it receives an application se...
by bsenftner
Fri Aug 07, 2020 4:44 pm
Forum: C++ Development
Topic: ramifications of not using sizers?
Replies: 5
Views: 130

ramifications of not using sizers?

Over the last year, probably due to never having seen any document like the "What do these sizers things do?" ( http://neume.sourceforge.net/sizerdemo/ ) I have abandoned using sizers in any new windows/panels/dialogs I create in new code. I find the process of window/panel/dialog contents and contr...
by bsenftner
Fri Aug 07, 2020 1:09 am
Forum: C++ Development
Topic: Creating a window of w,h does not create a window of w,h
Replies: 1
Views: 79

Creating a window of w,h does not create a window of w,h

Working in C++, developing with Visual Studio, using latest WxWidgets, and deploying to Windows and Linux... I am working on a small application requiring pixel accuracy of the layout, controls, windows etc. I am pretty confident that when requesting my application's main frame to be x pixels by y p...
by bsenftner
Tue Aug 04, 2020 7:50 pm
Forum: C++ Development
Topic: wxListCtrl & OnGetItemColumnAttr() & the selected row
Replies: 4
Views: 127

Re: wxListCtrl & OnGetItemColumnAttr() & the selected row

PB: That is the post I got my method from, however when hovering over a row the item colors on the hovered row revert to the default colors, not the color's I am setting. My current work around is to override the OnSelection() handler and remove the selection from the wxListCtrl while remembering wh...
by bsenftner
Tue Aug 04, 2020 4:30 pm
Forum: C++ Development
Topic: wxListCtrl & OnGetItemColumnAttr() & the selected row
Replies: 4
Views: 127

wxListCtrl & OnGetItemColumnAttr() & the selected row

I have a wxListCtrl that is virtual (due to tens of thousands of rows) with each row having custom row colors I am setting with OnGetItemColumnAttr(). The wxListCtrl is also configured for single selection. The row/column colors work fine except the current selected row displays with the default row...
by bsenftner
Tue May 26, 2020 5:27 pm
Forum: C++ Development
Topic: discarding inputs during initialization?
Replies: 2
Views: 169

discarding inputs during initialization?

I have a moderately complex wxWidgets application with multiple windows, each having notebooks with multiple panels, some panels display video streams from IP sources, controlling toolbars, arrays of buttons that pop dialogs and so on. Each time the application is launched, it recreates the multiple...
by bsenftner
Tue May 05, 2020 5:55 pm
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 361

Re: which are the correct Visual Studio compiling instructions?

For what it's worth, I've downloaded fresh copies and recompiled wxWidgets a number of times in the last few days, and the Visual Studio projects/solutions are definitely not setup correct. To insure correct compiles for a static library build, every single project (except "_custom_build") needs to ...
by bsenftner
Tue Apr 14, 2020 12:19 am
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 361

Re: which are the correct Visual Studio compiling instructions?

Never mind. I don't know why, but my dumb ass missed the "TARGET_CPU=X64" bit after staring right at it far too many times.
by bsenftner
Mon Apr 13, 2020 11:02 pm
Forum: Compiler / Linking / IDE Related
Topic: which are the correct Visual Studio compiling instructions?
Replies: 4
Views: 361

which are the correct Visual Studio compiling instructions?

I'm trying to compile static libs for version 3.1.3, yet going through multiple compile guides, I am not finding success. Every compile guide is either old, or produces the wrong libraries. The instructions included in the download at wxWidgets-3.1.3/docs/msw/install.md are unclear or wrong. Followi...
by bsenftner
Mon Apr 13, 2020 6:01 pm
Forum: C++ Development
Topic: wxWebView questions
Replies: 1
Views: 163

wxWebView questions

I've started using wxWebView to create interactive help panels in my applications. I'm running wxWidgets 3.1.2, and am thinking of moving to version 3.1.3; developing in Win10 and deploying to Win64 and Ubuntu. If anyone can answer a few questions about working with a wxWebView, their information wo...
by bsenftner
Thu Jan 09, 2020 4:24 pm
Forum: C++ Development
Topic: medium to large programmatic updates to a wxTextCtrl
Replies: 1
Views: 203

medium to large programmatic updates to a wxTextCtrl

I have a multi-line wxTextCtrl that sits in a wxPanel next to a wxGlCanvas. The wxGlCanvas updates at a 30 fps rate, and the wxTextCtrl displays information messages generated by the wxGlCanvas code as it runs. One if the things that can be sent to the wxTextCtrl are text files (scripts) associated ...
by bsenftner
Mon Aug 12, 2019 8:45 pm
Forum: C++ Development
Topic: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?
Replies: 3
Views: 334

Re: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?

Thanks for the info. The primary type of crash we experience is users overloading their systems, which are then killed via Task Manager or similar. Our app does video analysis, and inexperienced users can overwhelm a system to unresponsiveness. So it's killed. There is little one can do with people ...
by bsenftner
Mon Aug 12, 2019 6:41 pm
Forum: C++ Development
Topic: wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?
Replies: 3
Views: 334

wxSingleInstanceChecker (behavior change) and Auto Application Restart conflict?

Developing with latest wxWidgets in Visual Studio 2015 C++ on Win10. We have successfully been using wxSingleInstanceChecker in combination with the Win32 API RegisterApplicationRestart() to relaunch our wxWidgets application after crashes. However, we just found that Application Restart is no longe...
by bsenftner
Thu Jul 25, 2019 7:23 pm
Forum: C++ Development
Topic: wxGetTextFromUser() very delayed return
Replies: 4
Views: 308

Re: wxGetTextFromUser() very delayed return

Well, I must have had a "bad library compile" with my previous build, because a fresh download and rebuilding of the wxWidgets source works perfectly fine, as expected. I'd downloaded the source to build a step-wise debugging version, which I have now, but don't need anymore. (I'm sure a step-wise d...
by bsenftner
Thu Jul 25, 2019 1:00 pm
Forum: C++ Development
Topic: wxGetTextFromUser() very delayed return
Replies: 4
Views: 308

Re: wxGetTextFromUser() very delayed return

I am developing and debugging in Win10, so I have not tried Linux yet. I pass in the main window as the parent to the wxGetTextfromUser(). Another developer, compiling the program separately, also sees wxGetTextFromUser()'s delayed return, but is able to get the return to occur by generating toolbar...