Can anyone test this

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
hgm
Posts: 28386
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Can anyone test this

Post by hgm »

800 x 600 means 800 wide, not? How can it go off screen horizontally then? I ask for a window of 625 wide. Is the unit not pixels?

I am not sure a horizontal scroll bar would be better. It seems pertty much the same to me if you grab it by the title bar to drag it left or rigth, or that you have to grab a slider notch to move it left or right. Except for people that do have a larger screen resolution, of course. They would see everything in the wide-window case, while they would still have to use the slider in the other case.
User avatar
F.Huber
Posts: 867
Joined: Thu Mar 09, 2006 4:50 pm
Location: Austria
Full name: Franz Huber

Re: Can anyone test this

Post by F.Huber »

hgm wrote:800 x 600 means 800 wide, not? How can it go off screen horizontally then? I ask for a window of 625 wide. Is the unit not pixels?
Yes it is, but maybe the controls inside your 625 (?) window are too large and so its width is adjusted automatically?
Do you really get a window with only 625 pixels on your larger screen?

BTW, in the meantime I've found something for this TSpinEdit in Delphi:
CSpinButtonCtrl (a class in MFC) seems to be the usual Windows equivalent for that ...
User avatar
hgm
Posts: 28386
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Can anyone test this

Post by hgm »

Well, I haven't counted them. :shock: But if I define the window smaller the controls are simply clipped, so what you say cannot be the explanation. The size I specify fits nicely with what I calculated from position and witdth I specify for the controls. Something is fishy, though, as my laptop says it has a 1280x800 screen, while in fact the width takes 75% of the screen??? The units must not be pixels.

I will look into the spin thing.
User avatar
F.Huber
Posts: 867
Joined: Thu Mar 09, 2006 4:50 pm
Location: Austria
Full name: Franz Huber

Re: Can anyone test this

Post by F.Huber »

hgm wrote:Well, I haven't counted them. :shock:
You didn't??? :wink:
But you'll certainly know the width of your screen and so you could estimate whether it's about 625 or much more - for the ChestUCI options this window is definitely about 1000 pixels wide.
User avatar
hgm
Posts: 28386
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Can anyone test this

Post by hgm »

My laptop succeeds in utterly confusing me. When I get to the configuration screen, display settings, it says 1280 x 800. But I notice now it actually lists two displays. One is called "plug and play monitor", while the other is called "standard display". And the latter is set to 800 x 600 and cannot be changed.

From the naming I would guess that the 1 is an external monitor, and 2 the laptop LCD display. 800x600 would correspond nicely with the 75% width of the 625-wide dialog box I observe. When I change the setting of 1, though, I do see a different resolution on my laptop display, though...

[edit] Well, I am sure it is cheeting now. At least vertically. I can distinguish the individual pixels of my LCD screen. When a text-edit contains a 3, the 3 is 9 pixels high (vertical lines of 3 pixels, and 3 horizontal lines 1 pixel wide), and there are 3 blank pixels above it, and 4 below it. That already makes 16 pixels, and there is a 1-pixel wide blue border around it, for a total of 18. I ask for a height of 11...