Skip to main content

[archive] Screen Sizes

  • January 15, 2008
  • 2 replies
  • 0 views

[Migrated content. Thread originally posted on 14 January 2008]

I am trying to adjust a Window so that it fits on a screen.
In order to do this (I think) I require the available screen size. From the windows dll documentation it seems that the following syntax would give me what I require, referred to as availHeight property.

[ iHeight = ] screen.availHeight

This supposedly gives the available height (excluding taskbar) in pixels.

Does anyone know how to code the above in AcuCobol?

2 replies

[Migrated content. Thread originally posted on 14 January 2008]

I am trying to adjust a Window so that it fits on a screen.
In order to do this (I think) I require the available screen size. From the windows dll documentation it seems that the following syntax would give me what I require, referred to as availHeight property.

[ iHeight = ] screen.availHeight

This supposedly gives the available height (excluding taskbar) in pixels.

Does anyone know how to code the above in AcuCobol?
Look up your documentation for the verb ACCEPT, paragraph covering format 3. Read about the group TERMINAL-ABILITIES and the members USABLE-SCREEN-HEIGHT and PHYSICAL-SCREEN-HEIGHT.

[Migrated content. Thread originally posted on 14 January 2008]

I am trying to adjust a Window so that it fits on a screen.
In order to do this (I think) I require the available screen size. From the windows dll documentation it seems that the following syntax would give me what I require, referred to as availHeight property.

[ iHeight = ] screen.availHeight

This supposedly gives the available height (excluding taskbar) in pixels.

Does anyone know how to code the above in AcuCobol?
Look up your documentation for the verb ACCEPT, paragraph covering format 3. Read about the group TERMINAL-ABILITIES and the members USABLE-SCREEN-HEIGHT and PHYSICAL-SCREEN-HEIGHT.