WinPosStr:S:0,1,<X_Beg>,<Y_Beg>,<X_End>,<Y_End>Windows 8 borders
Border_T_Width — 08+02 = 16
Border_T_Height — 08+31 = 39
Position
X_Beg = S_Width/2-(W_Width+Border_T_Width)/2
Y_Beg = S_Height/2-(W_Width+Border_T_Height)/2Width example
S_Width 1920, W_Width 1024:
1920/2-(1024+16)/2X_Beg 440.
440+1024+16X_End 1480.
Height example
S_Height 1080, W_Height 768:
1080/2-(768+39)/2Y_Beg 137.
137+768+39Y_End 944.
Updated:
2026 Aug 19

