I can use v_clrwk to clear it, but it turns the screen white. Is there a way to restore the green background GEM colour ?
This came about because I cheated and just fill the screen with a green bar, but now I see on EMUTOS, seems to have a hatched pattern so I end up with two different green backgrounds :roll:
As this appears when the window is open and close, Maybe I am not setting something like the clipping rectangle or something causing the problem ? I don't seem to have this problem in TOS though anyway.
You will not be able to post if you are still using Microsoft email addresses such as Hotmail etc
See here for more information viewtopic.php?f=20&t=7296
See here for more information viewtopic.php?f=20&t=7296
BOOKMARK THIS PAGE !
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
https://www.exxosforum.co.uk:8085/IP_CHECK/
You can unban yourself if needed. It also sends me reports to investigate the ban.
DO NOT USE MOBILE / CGNAT DEVICES WHERE THE IP CHANGES CONSTANTLY!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
At this time, it is unfortunately not possible to whitelist users when your IP changes constantly.
You may inadvertently get banned because a previous attack may have used the IP you are now on.
So I suggest people only use fixed IP address devices until I can think of a solution for this problem!
Clear screen to the green background ?
-
exxos
- Site Admin

- Posts: 28130
- Joined: 16 Aug 2017 23:19
- Location: UK
Clear screen to the green background ?
You do not have the required permissions to view the files attached to this post.
-
mfro
- Posts: 124
- Joined: 13 Dec 2018 07:32
Re: Clear screen to the green background ?
This happens when you don't obey the stacked nature of GEM. If you use the "top of stack" AES (as you apparently do with the dialog box) you are supposed to use the VDI only inside the work area of AES windows (everything outside is supposed to be owned by the AES, otherwise you pull the carpet below the AES' feet).exxos wrote: 22 Apr 2020 21:29 I can use v_clrwk to clear it, but it turns the screen white. Is there a way to restore the green background GEM colour ?
Either send a WM_REDRAW message to the desktop (AES window handle 0) to redraw the background or register your own desktop with wind_set(WF_DESKTOP, ...) (after that you need to handle redraw messages to the desktop window yourself).
And remember: Beethoven wrote his first symphony in C.
-
exxos
- Site Admin

- Posts: 28130
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Clear screen to the green background ?
Is that right as it doesn't seem to be listed ? http://toshyp.atari.org/en/008009.html#wind_set
-
thorsten.otto
- Posts: 148
- Joined: 04 Nov 2019 02:20
Re: Clear screen to the green background ?
It is WF_NEWDESK, not WF_DESKTOP.
PS: i just wonder how long it takes until that old links disappear. The current version of tos.hyp is maintained on github, for several years already.
Erm, no. The AES still does that for you.after that you need to handle redraw messages to the desktop window yourself
PS: i just wonder how long it takes until that old links disappear. The current version of tos.hyp is maintained on github, for several years already.
-
mfro
- Posts: 124
- Joined: 13 Dec 2018 07:32
Re: Clear screen to the green background ?
Good, old - and buggy - Atari Compendium. Right you are, it's WF_NEWDESK. Thanks.
And remember: Beethoven wrote his first symphony in C.
-
exxos
- Site Admin

- Posts: 28130
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Clear screen to the green background ?
I always google the things I want.. github pages never show up.thorsten.otto wrote: 24 Apr 2020 14:44 PS: i just wonder how long it takes until that old links disappear. The current version of tos.hyp is maintained on github, for several years already.
-
exxos
- Site Admin

- Posts: 28130
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Clear screen to the green background ?
I am not really getting this.. I just created a standard window for now... Though when the dialogue boxes open and close, it is leaving a copy of itself on the screen.. So the background is not refreshing at all now :roll:
-
thorsten.otto
- Posts: 148
- Joined: 04 Nov 2019 02:20
Re: Clear screen to the green background ?
- do you call form_dial(FMD_FINISH,...) when you are done with the dialog?
- do you handle WM_REDRAW messages for your window?
- do you handle WM_REDRAW messages for your window?
-
ari.tao
- Posts: 45
- Joined: 18 Sep 2018 08:50
Re: Clear screen to the green background ?
Sic!
To handle the AES update semaphores correctly is essential when calling a dialogue.
To handle the AES update semaphores correctly is essential when calling a dialogue.
Falcon, TT & some more
-
exxos
- Site Admin

- Posts: 28130
- Joined: 16 Aug 2017 23:19
- Location: UK
Re: Clear screen to the green background ?
FMD_FINISH is half the problem. When I draw the menu box, go into a second menu and quit back to main menu I get a copy of the second menu left on the screen as that menu is larger than the first. Now FMD_FINISH clears that issue by restoring the desktop background. So in that respect it all works fine..BUT..thorsten.otto wrote: 25 Apr 2020 07:01 - do you call form_dial(FMD_FINISH,...) when you are done with the dialog?
- do you handle WM_REDRAW messages for your window?
If I fill the screen with red for example, FMD_FINISH restores again the desktop background so I end up with green blocks around my red background. I guess it would be better to post a video about this...
WM_REDRAW I'm not using as I don't think it would help. The workaround is to just draw a red background full screen after FMD_FINISH, But that doesn't seem a good solution to me, it is literally a work around.
Who is online
Users browsing this forum: CCBot and 1 guest