v25 BC break in WINDOW and ACTIVATE

Aug 23, 2010
636
9
v.25 introduced a new way to move or resize windows separately, that is breaking backward compatibility with existing scripts.
You can no longer move windows to -1 pixel off screen.
 
Aug 23, 2010
636
9
Because that's optimal position for the window I'm moving.
Change it to non-numeric value, "x" for example.
Then you would achieve the desired results without BC break.
 

rconn

Administrator
Staff member
May 14, 2008
12,340
149
-1 isn't necessarily off screen, it's just one pixel off the screen of one monitor. Dual monitor systems (depending on the configuration) will end up with a one-pixel stripe on one of the monitors.

Unless you're trying to hide one pixel of your window border on a single-monitor system, I don't see how this is of any benefit.
 

Charles Dye

Super Moderator
Staff member
May 20, 2008
4,446
88
Albuquerque, NM
prospero.unm.edu
Because that's optimal position for the window I'm moving.
Change it to non-numeric value, "x" for example.

For a non-numeric do-nothing token, I'd suggest that a minus sign (sans digits) might be more intuitive. But if you really want to use a numeric value, -32000 is a lot less likely to intersect an actual monitor.
 
Aug 23, 2010
636
9
Why do you assume that the window I'm moving will inevitable end up on both monitors of the multimonitor system? Can't I move it to the side of one of the monitors, that isn't adjacent to another one????
(And yes, I have two monitors. And yes, I'm moving the window to the left side of the left monitor. And no, it's my choice where I want my windows. And it's only mine.)
 
Aug 23, 2010
636
9
For a non-numeric do-nothing token, I'd suggest that a minus sign (sans digits) might be more intuitive.
That could be.

Or just let /POS: accept either 4 or 2 numbers, and introduce a new switch "/SIZE:w,h".

P.S.
I don't recall if I mentioned it earlier, but there's a discrepancy between @WINPOS's "top,left,bottom,right" and
"/POS=left,top,width,height".
 
Aug 23, 2010
636
9
No, in this case, it was just a highlight.
At most, it would be useful to explicitly mention this caveat in the documentation, so people are aware.
 
Similar threads
Thread starter Title Forum Replies Date
C How to? starting TCC/TCMD v25 Support 2
K Fixed Prompt display will be shifted after use dir to display a filename with Chinese. (v25.00.28 x64) Support 18
vefatica Text invisible in v25 Support 10
J How to? tty support in V25? Support 5
Alpengreis [TCMD v25.00.24] Small space problem with the DE translation in Prefs-GUI Support 1
Alpengreis [TCMD v25.00.24] Problem with copy and paste and the # char via mouse in TCC Support 6
A Fixed v25 regression: Parameter expansion fails in piped commands Support 2
C Fixed V25 crashes when adding and then removing in the tabbed toolbar Support 3
C V25 eats STDERR from executable extensions Support 8
Alpengreis How to? Where is a ChangeLog for v25 build 16 Support 4
C Fixed FOR command not enumerating subdirectories in v25 Support 5
R Changes to BDEBUGGER menu item keyboard shortcuts in v25 Support 2
rconn News Take Command / TCC / CMDebug / TCC-RT v25.0.11 uploaded Support 0
A v25.00.10 hangs when returning %_ipdnsserver Support 7
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Build 9 Support 0
R v25 Regular Expression Analyser Support 2
R Documentation v25 Help Comments Support 1
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Build 8 Uploaded Support 9
Joe Caverly DIRectory Colorization in v25 Help File Support 0
rconn News Take Command / TCC / CMDebug / TCC-RT v25 Public Beta Support 0
rconn News Take Command v25 Suggestions Support 0
S Debugger keeps breaking with no break point set. Support 1
Phileosophos Did enumservers break? Support 5
fromano Break on buying TextPipe Pro Support 2
C View Print Wrap - please break at whitespace Support 3
C Output continues after Ctrl-Break Support 8
vefatica ON BREAK (con't) Support 1
vefatica ON BREAK doesn't always work Support 23
J Copy from HTTP can break Support 3
E Line break in msgbox text Support 3
R break script on syntex error Support 7
p.f.moore Bug in plugin break handling? Support 0
R History window wrong size, can't remember size change Support 12
R @select inside alias gives different (insanely small) window Support 7
K_Meinhard How to? Help window position Support 7
D Directory History Window with wildcard search Support 3
Dmitry L. Kobyakov Documentation Error in the Help: the WINDOW command Support 0
L LIST's pop-up search loses focus in a Windows Terminal window Support 15
ntak About window size notification Support 6
R Batch Debugger Command Expansion Window Support 3
R How do I get a Git Bash shell to appear in TCC window? Support 7
G Press on another Window Support 24
Peter Murschall IDE: After undocking the command expansion Window is offended Support 2
T TCC Window Background Color Anomaly Support 9
vefatica BTM, elevated, console window caption? Support 4
W Hide window Support 7
R How to? START program as top window? Support 2
P No linefeed on last line of console window Support 2
scottb How to? ipconfig output in current window Support 4
R How to? Change TCMD tab font size in window menu Support 3

Similar threads