Discussion:
Midget Window Size of DRRexx Programs
(too old to reply)
Wolfi
2009-01-06 18:51:01 UTC
Permalink
Raw Message
While being in touch with IpConfigPM author Dušan Golubič during the
last few days, due to some problems of not fully displaying the numbers
in the selection boxes of the program window, I discovered something
rather strange.

For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.

This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.

So, now the big question is: how is it possible that apparently I get
midget versions of DRRexx based program windows?

Is this a phenomenon others have run into already as well?
Does anybody know anything about an effect like that and how to fix it?
Peter Brown
2009-01-06 20:04:21 UTC
Permalink
Raw Message
Hi Wolfi
Post by Wolfi
While being in touch with IpConfigPM author Dušan Golubič during the
last few days, due to some problems of not fully displaying the numbers
in the selection boxes of the program window, I discovered something
rather strange.
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
So, now the big question is: how is it possible that apparently I get
midget versions of DRRexx based program windows?
Is this a phenomenon others have run into already as well?
Does anybody know anything about an effect like that and how to fix it?
Maybe the DRRexx app does not allow for different screen resolutions.

If that is the case the author needs to add some code to detect screen
resolution and adjust app window size accordingly.

Regards

Pete
Wolfi
2009-01-06 22:17:06 UTC
Permalink
Raw Message
Post by Peter Brown
Hi Wolfi
Post by Wolfi
While being in touch with IpConfigPM author Dušan Golubič during the
last few days, due to some problems of not fully displaying the numbers
in the selection boxes of the program window, I discovered something
rather strange.
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
So, now the big question is: how is it possible that apparently I get
midget versions of DRRexx based program windows?
Is this a phenomenon others have run into already as well?
Does anybody know anything about an effect like that and how to fix it?
Maybe the DRRexx app does not allow for different screen resolutions.
But then why does it appear in different sizes on systems running the
very same resolution (his: 336 x 484 @1024x768, 419 x 530 @1280x1024 &
@1400x1050; mine: 252 x392 @1280x1024)?
Andi B.
2009-01-07 20:09:09 UTC
Permalink
Raw Message
Post by Wolfi
Post by Peter Brown
Hi Wolfi
Post by Wolfi
While being in touch with IpConfigPM author Dušan Golubič during the
last few days, due to some problems of not fully displaying the numbers
in the selection boxes of the program window, I discovered something
rather strange.
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
So, now the big question is: how is it possible that apparently I get
midget versions of DRRexx based program windows?
Is this a phenomenon others have run into already as well?
Does anybody know anything about an effect like that and how to fix it?
Maybe the DRRexx app does not allow for different screen resolutions.
But then why does it appear in different sizes on systems running the
@1400x1050; mine: 252 x392 @1280x1024)?
Could it be because of different system default font? Have you changed that f.i.
with setdef_font101 or by hand in the .ini file? Other possiblity - which
graphic driver? Both snap? SET SDDFONTDPI=xxx?

Regards,
Andi
Wolfi
2009-01-07 20:46:09 UTC
Permalink
Raw Message
Post by Andi B.
Post by Wolfi
Post by Peter Brown
Hi Wolfi
Post by Wolfi
While being in touch with IpConfigPM author Dušan Golubič during the
last few days, due to some problems of not fully displaying the numbers
in the selection boxes of the program window, I discovered something
rather strange.
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed
information is
hardly readable here.
So, now the big question is: how is it possible that apparently I get
midget versions of DRRexx based program windows?
Oooops!! That was meant to be DRDialog, not DRRexx :-[
Post by Andi B.
Post by Wolfi
Post by Peter Brown
Post by Wolfi
Is this a phenomenon others have run into already as well?
Does anybody know anything about an effect like that and how to fix it?
Maybe the DRRexx app does not allow for different screen resolutions.
But then why does it appear in different sizes on systems running the
@1400x1050; mine: 252 x392 @1280x1024)?
Could it be because of different system default font? Have you changed
that f.i. with setdef_font101 or by hand in the .ini file?
Not that I would remember. My PM_SystemFonts are set to 9. WarpSans for
all for listet items.
What is setdef_font101?
Post by Andi B.
Other possiblity - which graphic driver? Both snap? SET SDDFONTDPI=xxx?
I'm using it with SDDFONTDPI=96 and SDDFONTSIZE=small

Last night he sent me another version, which he had compiled on a box
with a 1024x768px resolution.
This one now looks great here on 1280x1024 and appears with a window
size of 302 x 393px. :-)
But he now says, that for him it now looks strange on 1280x1024 screen
and hence suspects some issues with DRDialog.
Alex Taylor
2009-01-09 13:50:01 UTC
Permalink
Raw Message
Post by Wolfi
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
Sounds like you may have PM_SystemFonts -> DefaultFont defined in OS2.INI.
That will cause things like this to happen, at least with programs that
weren't designed with dialog-unit scaling in mind.
--
Alex Taylor
Fukushima, Japan
http://www.socis.ca/~ataylo00

Please take off hat when replying.
Wolfi
2009-01-09 16:17:17 UTC
Permalink
Raw Message
Post by Alex Taylor
Post by Wolfi
For some still unknown reason, here on my W4 FP16+ system at a screen
resolution of 1280 x 1024px the program window of IpConfigPM is only 252
x392 px and thus less than 1/2 of the size it appears on his system
(eCS, judging from the screenshots he sent me) with 336 x 484px, where
of course everything then looks really nice.
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
Sounds like you may have PM_SystemFonts -> DefaultFont defined in OS2.INI.
That will cause things like this to happen, at least with programs that
weren't designed with dialog-unit scaling in mind.
Doesn't look like it. All I could find under this name are 4 lines:
IconText
Menus
windowText
windowTitles
all with a value of "9. WarpSans" for 1 & 3, resp. "WarpSans Bold" for 2 & 4
Frank
2009-01-13 07:27:30 UTC
Permalink
Raw Message
Post by Alex Taylor
Post by Wolfi
This discovery now also sheds some light on one or the other such
program, where I was wondering on occasion in the past, why the author
would make the program window so tiny, that the displayed information is
hardly readable here.
Sounds like you may have PM_SystemFonts -> DefaultFont defined in OS2.INI.
That will cause things like this to happen, at least with programs that
weren't designed with dialog-unit scaling in mind.
Thanks Alex, that worked for me. I'm testing RC6 and some dialogs (e.g. in XWP)
didn't look good compared to eCS 1.2

Kind regards,
Frank

Loading...