rconn wrote:
| rconn wrote:
|| Steve Fábián wrote:
||| What's the algorithm to calculate the width and height of a window
||| as required by the /POS option of the WINDOW command, given the
||| desired size in columns and rows?
|
|| Multiply the rows & columns by your font size, and add the title
|| bar.
|
|
|
| ---Quote---
|| I thougt the font size is the character pixel array size, but that
|| there
| ---End Quote---
| is
|
|
| ---Quote---
|| space between them both vertically and horizontally, for which I
|| also need ---End Quote---
|
|
| ---Quote---
|| to account. How about vertical and / or horizontal scroll bar size?
|| Are
| ---End Quote---
| they
|
|
| ---Quote---
|| included in the /POS design?
| ---End Quote---
| The font size includes the pixels above & below.
|
| If you want to resize a TCC window in Take Command, it's vastly
| simpler to drag it; you'll see the current size updated in the
| status bar. If you want to resize a stand-alone TCC window, click
| on the icon on the title bar and use the Windows console manager
| (which is going to be doing it anyway).
The part in which you quoted my post came through horribly mangled,
but luckily your response came through legibly.
As usual, I am interested in stand-alone TCC window resizing. I am
particularly interested in a/ automatic resizing after screen
resolution change, and b/ sizing to specified size(s) regardless of
screen resolution programmatically (e.g., in a batch file).
--
Steve