Hi All,
I'm trying to figure out how one determines the Windows task-bar location.
I found that using an ACCEPT statement (like the one below), one can gather information about the user's desktop and determine whether the task-bar is vertical or horizontal.
ACCEPT Terminal-Abilities FROM Terminal-Info
It seems that this can be done by subtracting USABLE-SCREEN-WIDTH from PHYSICAL-SCREEN-WIDTH and if the result is greater than zero, then that means the task-bar is in a vertical position. A similar test can be done with USABLE-SCREEN-HEIGHT and PHYSICAL-SCREEN-HEIGHT.
But I'm having difficulty in determining what information is available to determine whether the task-bar is on the left or the right, and whether it's on the top or the bottom from the Terminal-Abilities information.
How does one typically determine the position of the task bar on the client workstation using COBOL?
Thanks,
Luis