Print Page | Close Window

AutoLoadPlacement bug

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=24356
Printed Date: 04 December 2024 at 5:09am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: AutoLoadPlacement bug
Posted By: angelsoriasanagustin
Subject: AutoLoadPlacement bug
Date Posted: 06 February 2023 at 2:17am
Hi.

AutoLoadPlacement does not detect second monitors, the screen is always displayed on the primary monitor.



Replies:
Posted By: mgampi
Date Posted: 21 February 2023 at 2:45am
Hi;

We have the same problem!
When the application is first opened on the (right) secondary monitor and then a dialog is displayed, the dialog appears on the (left) primary monitor. If we then move the dialog to the secondary monitor, close the application, reopen it, and move the application back to the primary monitor, the dialog does not appear at all.
I assume that it is then displayed on an 'imaginary' monitor to the left of the primary monitor.
How can this be fixed?


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: markr
Date Posted: 22 February 2023 at 12:01am
What version of XTP are you both running? I'm using AutoLoadPlacement as well, but don't have this problem.


Posted By: mgampi
Date Posted: 22 February 2023 at 1:53am
In my case I tested it with versions 19.1, 19.3, 20.3 and 22.0.


-------------
Martin

Product: Xtreme Toolkit v 22.1.0, new Projects v 24.0.0
Platform: Windows 10 v 22H2 (64bit)
Language: VC++ 2022


Posted By: angelsoriasanagustin
Date Posted: 22 February 2023 at 2:13am
Hi

I'm using v22


Posted By: markr
Date Posted: 22 February 2023 at 3:04am
Sorry, I was mistaken.

I am actually using LoadWindowPlacement and SaveWindowPlacement to implement my own AutoLoadPlacement method (rather than calling the one in XTP). Which would explain why my apps aren't running into this problem.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net