Search found 354 matches

by Widgets
Wed Oct 23, 2019 9:47 pm
Forum: C++ Development
Topic: Multi-monitor puzzle
Replies: 8
Views: 258

Re: Multi-monitor puzzle

ONEEYEMAN wrote:
Wed Oct 23, 2019 9:01 pm
Hi,
Is there something in the BIOS which will configure which monitor will be primary?

Thank you.
No, nothing; it is a Windows construct/concept.
There seems to be some sort of ordering, but I don't know if it is the BIOS or some lower level of Windows.
by Widgets
Wed Oct 23, 2019 8:37 pm
Forum: C++ Development
Topic: Multi-monitor puzzle
Replies: 8
Views: 258

Re: Multi-monitor puzzle

I have tried tracing into the code but cannot see where or why I do not get the answers I expected, nor can I resolve in my own mind, why what I do get is, in fact, correct. There seem to be other weird (read: unexpected) things happening with my screens/monitors. My graphics outputs are from 2 on-b...
by Widgets
Wed Oct 23, 2019 5:20 pm
Forum: C++ Development
Topic: Multi-monitor puzzle
Replies: 8
Views: 258

Re: Multi-monitor puzzle

Hi, wxWidgets provides the "persistence framework". Maybe this will work better for you? Check this for reference. Thank you. This is an interesting part of wxWidgets, but won't help me here because 1)the problem is not in 'remembering' coordinates, but in understanding the Win way of doing things ...
by Widgets
Wed Oct 23, 2019 5:15 pm
Forum: C++ Development
Topic: Multi-monitor puzzle
Replies: 8
Views: 258

Re: Multi-monitor puzzle

Did you check that wxDisplay actually returns the correct rect for each display? int n = wxDisplay::GetCount(); for(int i=0; i<n; i++) { wxDisplay display(i); wxRect r = display.GetGeometry(); wxLogMessage("screen %d: %d,%d %d,%d", i, r.x, r.y, r.width,r.height ); } After modifying the code to send...
by Widgets
Wed Oct 23, 2019 4:25 am
Forum: C++ Development
Topic: Multi-monitor puzzle
Replies: 8
Views: 258

Multi-monitor puzzle

As this problem starts out from a wxWidgets project, I am posting the question here, though I perhaps should ask on a Windows forum? Running the most recent update of Win 10 64-bit 3 monitors with 1920x1080 resolution, same size, but different manufacturers. MSVC 2017 Community edition, WxWidgets 3....
by Widgets
Tue Sep 03, 2019 7:47 pm
Forum: C++ Development
Topic: Image data (only) checksum/digest
Replies: 6
Views: 196

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

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

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

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

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

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

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

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

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

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...