Search found 349 matches

by Widgets
Tue Sep 03, 2019 7:47 pm
Forum: C++ Development
Topic: Image data (only) checksum/digest
Replies: 6
Views: 102

Re: Image data (only) checksum/digest

Up to now I had considered only a brute-force, full size image comparison and for my limited tests, that did not seem to imply any undue computational effort, though my reaction may well change once I look at the overall picture. In that case I may well have to consider comparing only reduced size i...
by Widgets
Tue Sep 03, 2019 2:55 pm
Forum: C++ Development
Topic: Image data (only) checksum/digest
Replies: 6
Views: 102

Re: Image data (only) checksum/digest

Quite right, it won't be easy and I'll have to see just what I can look for to try and sort this out. Still, even being able to identify some images which only differ in 'peripheral' data will be a big help - I hope :-) My first and very limited test shows a very distinct difference between the SHA-...
by Widgets
Mon Sep 02, 2019 12:21 am
Forum: C++ Development
Topic: Image data (only) checksum/digest
Replies: 6
Views: 102

Re: Image data (only) checksum/digest

Thank you. That was one of my options, but with so many to check, I did not want to go too far down a blind alley without some guidance. There seems to be a chance that some of the applications used for editing may have written back even the image data at a different compression setting compared to ...
by Widgets
Sun Sep 01, 2019 8:32 pm
Forum: C++ Development
Topic: Image data (only) checksum/digest
Replies: 6
Views: 102

Image data (only) checksum/digest

For one of my projects, I have ended up with many images (more than can be visually/manually compared in a reasonable time frame) scattered all over my older & more recent PCs on the LAN. Most of these images would have started out from one base image, but over time, they might have been worked on t...
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: 134

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: 134

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: 1038

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: 1038

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: 168

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: 168

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: 168

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: 168

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: 122

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: 110

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: 110

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/?= =...