I have to show a little window at the lower right corner of the screen.
And it's the only window of this instance.
So I display my standard window and modify it via the handle to give it a line and col.
This almost works. But every new window is positioned at another location.
It makes no difference if I close each instance before I open a new one or if I start 4 independent instances simultanously.
BTW: There is always a cyclus of 4. The 5th instance is located at the same spot where the first one was.

How can I display a window at a given position ?
I believe you want to use SCREEN LINE and SCREEN COLUMN , versus using just line and column . There can only be one Standard Window. The rest of the Windows in the application would be Floating or Independent Windows. I made a Standard Window with a push button. When the push button is selected, I display a floating window
DISPLAY Floating GRAPHICAL WINDOW
SCREEN LINE 10, SCREEN COLUMN 30,
LINES 16.60, SIZE 37.20, CELL HEIGHT 10,
CELL WIDTH 10, handle float-win-hnd-1
I made 5 floating windows - the only difference being the handle. My push button on the Standard window displayed 5 of these floating windows. They landed exactly in the same position on my screen. I hope that helps.
I believe you want to use SCREEN LINE and SCREEN COLUMN , versus using just line and column . There can only be one Standard Window. The rest of the Windows in the application would be Floating or Independent Windows. I made a Standard Window with a push button. When the push button is selected, I display a floating window
DISPLAY Floating GRAPHICAL WINDOW
SCREEN LINE 10, SCREEN COLUMN 30,
LINES 16.60, SIZE 37.20, CELL HEIGHT 10,
CELL WIDTH 10, handle float-win-hnd-1
I made 5 floating windows - the only difference being the handle. My push button on the Standard window displayed 5 of these floating windows. They landed exactly in the same position on my screen. I hope that helps.
Hi,
thanks for your post, but I think I haven't managed to make my problem clear.
My program shows only one window and as you mentioned I think it's the standard window.
How can I position this window exactly in the lower right corner ?
Hi,
thanks for your post, but I think I haven't managed to make my problem clear.
My program shows only one window and as you mentioned I think it's the standard window.
How can I position this window exactly in the lower right corner ?
I believe since each user may have different monitor sizes the first thing would be to get terminal-abilities
USABLE-SCREEN-HEIGHT
USABLE-SCREEN-WIDTH
PHYSICAL-SCREEN-HEIGHT
PHYSICAL-SCREEN-WIDTH
figure how much screen your display will take and then in the Display Window statement use SCREEN LINE and SCREEN COLUMN
I have a decent size monitor
DISPLAY Standard GRAPHICAL WINDOW
SCREEN LINE 850, SCREEN COLUMN 1700,
LINES 15.00, SIZE 23.70, CELL HEIGHT 10,
I hope this helps.