About resolutionspecific and [1024x768 (10x20)]

English support forum

Moderators: white, Hacker, petermad, Stefan2

Post Reply
Axis
Junior Member
Junior Member
Posts: 88
Joined: 2015-07-14, 18:53 UTC

About resolutionspecific and [1024x768 (10x20)]

Post by *Axis »

Hi.

I'm reading tc's help and in particular wincmd.ini's resolution section (and its redirection).

What's the meaning of "[1024x768 (10x20)]"?
Ok, I get it, 1024x768 is the screen resolution but what about (10x20) (... and Is it mandatory to specify it?)?

Thanks
User avatar
Stefan2
Power Member
Power Member
Posts: 4155
Joined: 2007-09-13, 22:20 UTC
Location: Europa

resolutionspecific what's the meaning of [1024x768 (10x20)]

Post by *Stefan2 »

 
ghisler(Author) wrote: 2009-08-10, 19:50 UTC
[1280x1024 (8x18)]
FontSize=9

what's the meaning of (8x18)

These are the so-called dialog base units which can be retrieved with the Windows function GetDialogBaseUnits:
When using large fonts, these numbers will be larger.
TC stores different font settings (and window sizes) when the user uses large fonts than when he uses small fonts.


I have myown
[1280x1024 (8x16)]
FontSize=10

I have found
[1280x1024 (8x16)]
FontSize=8

[1024x768 (8x16)]
FontSize=11


So just leave it as TC has set it.

 
Axis
Junior Member
Junior Member
Posts: 88
Joined: 2015-07-14, 18:53 UTC

Re: About resolutionspecific and [1024x768 (10x20)]

Post by *Axis »

So for my [1366x768] and [1680x1050] sections (in wincmd.ini and then redirected to User_1366x768.ini, User_1680x1050.ini), what should I put in wincmd.ini?

[1366x768 (8x16)]
FontSize=9

[1680x1050 (8x16)]
FontSize=9

Are the above examples correct?

Thanks
User avatar
Stefan2
Power Member
Power Member
Posts: 4155
Joined: 2007-09-13, 22:20 UTC
Location: Europa

Re: About resolutionspecific and [1024x768 (10x20)]

Post by *Stefan2 »

Axis wrote: 2018-09-06, 16:58 UTC ...what should I put in wincmd.ini?...
You should do nothing there, just start TC, (maybe made your settings in Configuration > Options..., and/or for Buttonbar)
next execute menu Configuration > Save Position / Settings, and TC will write this entries to the INI.


@ghisler(Author)
Correct?



 
User avatar
ts4242
Power Member
Power Member
Posts: 2081
Joined: 2004-02-02, 20:08 UTC
Contact:

Re: About resolutionspecific and [1024x768 (10x20)]

Post by *ts4242 »

Axis wrote: 2018-09-06, 16:58 UTC So for my [1366x768]what should I put in wincmd.ini?
Just put the key RedirectSection under the section you want to redirect and TC will do the rest, e.g.

Code: Select all

[1366x768 (8x16)]
RedirectSection=User_1366x768.ini
Post Reply