On my dual monitor setup, querybox does not position the dialog in the center of the TCC window.

querybox /e "title" Press OK %%dlgid

The TCC window is on my left (secondary) monitor. The dialog is displayed on the left edge of the primary monitor. The vertical component of the dialog is correct if you were to slide it over to the secondary monitor.

Administrator

That's novel -- I never heard of anybody putting their primary monitor on the right!

The window centering function thinks that the TCC window is off the screen (because the coordinates are < 0), soit's moving the popup window to the left edge (x=0). (And yes, this was deliberate because people were moving their TCC windows offscreen but wanting the popup windows to appear onscreen.)

This function will have to get a lot more complicated to determine whether the offscreen location is really on a secondary monitor to the left (or above) the primary. I'll do something about it in the next build.

My primary monitor is on the right, and my secondary is on the left. It's
where the available desk space happened to be.

On Mon, Feb 28, 2011 at 10:09, rconn <> wrote:

> ---Quote (Originally by ron)---
> The TCC window is on my left (secondary) monitor.
> ---End Quote---
>
> That's novel -- I never heard of anybody putting their primary monitor on
> the right!
>
> The window centering function thinks that the TCC window is off the screen
> (because the coordinates are < 0), soit's moving the popup window to the
> left edge (x=0). (And yes, this was deliberate because people were moving
> their TCC windows offscreen but wanting the popup windows to appear
> onscreen.)
>
> This function will have to get a lot more complicated to determine whether
> the offscreen location is really on a secondary monitor to the left (or
> above) the primary. I'll do something about it in the next build.
>
>
>
>
>