Search found 345 matches

by Widgets
Tue May 21, 2019 6:59 pm
Forum: C++ Development
Topic: centering wxbusyinfo on parent app rather than primary monitor
Replies: 2
Views: 107

Re: centering wxbusyinfo on parent app rather than primary monitor

After a bit more experimenting and reading the docs with my problem in mind, it seems I need to use the ctor
wxBusyInfo ( "string", this );
explicitly stating the app as the parent.
Perhaps the better way would be to make the parent the default, rather than the desktop
by Widgets
Tue May 21, 2019 4:15 pm
Forum: C++ Development
Topic: centering wxbusyinfo on parent app rather than primary monitor
Replies: 2
Views: 107

centering wxbusyinfo on parent app rather than primary monitor

In a multi-monitor environment, with an app displayed on a non-primary monitor, I would like to have the wxBusyInfo window centered on the app's parent frame, rather than the default position, which seems to be the primary monitor. Will I have to 'build' my own version or is there a way to do so wit...
by Widgets
Thu Mar 21, 2019 8:56 pm
Forum: C++ Development
Topic: wxTextCtrl password entry with show&hide password option
Replies: 11
Views: 934

Re: wxTextCtrl password entry with show&hide password option

the 'solution' may well be 'obvious' to you, but it is not to me and the example may well work under some (unspecified) conditions, but not under mine :?
by Widgets
Thu Mar 21, 2019 7:36 pm
Forum: C++ Development
Topic: wxTextCtrl password entry with show&hide password option
Replies: 11
Views: 934

Re: wxTextCtrl password entry with show&hide password option

FWIW, I find that Xaviou's solution may work only if the password text control is the only or last control in a sizer, and even with moving it to the last box, I had no luck with in wxGridSizer. The problem seems to be that, while a sizer has functions to add a control at a given index, I have not f...
by Widgets
Wed Mar 20, 2019 12:43 am
Forum: C++ Development
Topic: msw.font.no-proof-quality
Replies: 5
Views: 139

Re: msw.font.no-proof-quality

On the machine which had the issue there is only one copy of one version of wxWidgets - a well, as far as I can tell, the problem is no longer present, although I had made several full re-compiles on that PC.
by Widgets
Tue Mar 19, 2019 7:37 pm
Forum: C++ Development
Topic: msw.font.no-proof-quality
Replies: 5
Views: 139

Re: msw.font.no-proof-quality

I have just compiled the same application on a different PC - same IDE & wxWidgets libraries, and I don't get the exception I got before on the the Windows machine and in addition, the new version finds and loads a number of plug-ins the earlier version did not. Curiouser & curiouser Both PC run the...
by Widgets
Tue Mar 19, 2019 6:43 pm
Forum: C++ Development
Topic: msw.font.no-proof-quality
Replies: 5
Views: 139

Re: msw.font.no-proof-quality

The exception message is simply: :dclean.exe has triggered a breakpoint" The place it is thrown at: string.h line #1004 - wxWidgets 3.1.1 wxString(const wxString& stringSrc) : m_impl(stringSrc.m_impl) { } stringSrc = L"msw.font.no-proof-quality" When I set a break point at this line, it is hit sever...
by Widgets
Tue Mar 19, 2019 5:41 pm
Forum: C++ Development
Topic: msw.font.no-proof-quality
Replies: 5
Views: 139

msw.font.no-proof-quality

While working with my current project on an older machine, I keep getting exceptions related to "msw.font.no-proof-quality". I can continue the session without any apparent ill effects, but I just don't like doing so without understanding what causes it and much more preferably fixing the underlying...
by Widgets
Tue Mar 19, 2019 5:02 pm
Forum: C++ Development
Topic: Translate question
Replies: 0
Views: 100

Translate question

After picking up a project from Sourceforge - dclean, which seems to have been dormant for quite some time - and which includes translations for several languages and reading a good number of posts as well as the documentation, I have been able to work my way through the steps necessary to understan...
by Widgets
Thu Feb 21, 2019 5:48 pm
Forum: C++ Development
Topic: Converting a KOI8-r string for display
Replies: 2
Views: 100

Re: Converting a KOI8-r string for display

Thank you.
By using the detected encoding 'wsCharSet', it makes the solution much more general :-)

Code: Select all

wxString out( in, wxCSConv(wsCharSet) );
by Widgets
Thu Feb 21, 2019 3:20 am
Forum: C++ Development
Topic: Converting a KOI8-r string for display
Replies: 2
Views: 100

Converting a KOI8-r string for display

Recently my mail screener ended up receiving a subject line encoded in KOI8-r and I am stuck trying to convert the string to a displayable string with mixed Cyrillic ASCII characters. The original string looks like: Subject: =?koi8-r?B?7sUg1cTBxdTT0SDEz9PUwdfJ1Ng6IFNQQU0gZnJvbSB5b3VyIG5ldHdvcms/?= =...
by Widgets
Thu Dec 27, 2018 6:09 pm
Forum: C++ Development
Topic: Disable static text of wxStaticBoxSizer
Replies: 8
Views: 921

Re: Disable static text of wxStaticBoxSizer

Sorry, I thought it was clear from the last post in the second thread you linked, the code you referenced as "native"; there is also a link to Google search results for the issue. At the start, I just found and used the image - for convenience; meanwhile, as a result of this discussion, I have also...
by Widgets
Wed Dec 26, 2018 7:53 pm
Forum: C++ Development
Topic: Disable static text of wxStaticBoxSizer
Replies: 8
Views: 921

Re: Disable static text of wxStaticBoxSizer

There is no workaround using manifests, my simple workaround uses a disabled wxStaticText - see the third box in my screenshot and code. Understood. Still, as I see it, it is a choice of 'work-arounds' then. :) My hope was to understand and perhaps find a way to handle the, at least to me, quite un...
by Widgets
Tue Dec 25, 2018 9:20 pm
Forum: C++ Development
Topic: Disable static text of wxStaticBoxSizer
Replies: 8
Views: 921

Re: Disable static text of wxStaticBoxSizer

Regarding the manifests - there are basically two: Common controls manifest , where your application states that is uses common controls v6 introduced with Windows XP and therefore will be themed according to the theme Windows is using. .... This manifest is added automatically by MSVC 2005 and new...
by Widgets
Mon Dec 24, 2018 6:27 pm
Forum: C++ Development
Topic: Disable static text of wxStaticBoxSizer
Replies: 8
Views: 921

Re: Disable static text of wxStaticBoxSizer

Looking at the buttons in the screnshot, your application seems to be missing a common controls manifest - if so, what is different from what I wrote in the last post of the second thread you linked, i.e., without a manifest the static box does not show disabled? What manifest "fiddling" do you mea...