System progs preventing WB screenmode change.

A forum for general AmigaOS 4.x support questions that are not platform-specific

Re: System progs preventing WB screenmode change.

Postby xenic » Tue Jul 21, 2015 6:07 pm

tonyw wrote:Added BZ for filecompare: #9248.

Thank you very much.
After reviewing the advice by other users I did some testing with a simple Reaction program. As long as WINDOW_AppPort is set to a valid message port in the window object, the program gets WMHI_ICONIFY messages when the window iconify gadget is selected and when Workbench is about to close. Since FileCompare is iconifying when you click the iconify gadget, it should also be iconifying when Workbench is about to close but it's not. I can't explain why but something is going wrong.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1047
Joined: Sun Jun 19, 2011 1:06 am

Re: System progs preventing WB screenmode change.

Postby xenic » Tue Jul 21, 2015 6:36 pm

@thomasrapp
@mritter0
Thanks for the input. Although Reaction handles the Workbench open/close notification somewhat transparently, it doesn't appear to automatically handle screen closing when a program is on another public screen. It looks like IIntuition->StartScreenNotifyTags() might be needed for other public screens.
AmigaOne X1000 with 2GB memory - OS4.1 FE
xenic
 
Posts: 1047
Joined: Sun Jun 19, 2011 1:06 am

Re: System progs preventing WB screenmode change.

Postby mritter0 » Tue Jul 21, 2015 9:22 pm

SNOTIFY_BEFORE_CLOSESCREEN for other public screens closing. In my project I don't check to see if it re-opened. I assume it is terminating and re-open on Workbench.
Workbench Explorer - A better way to browse drawers
User avatar
mritter0
 
Posts: 184
Joined: Mon Aug 25, 2014 10:41 pm
Location: Bettendorf, IA, USA

Previous

Return to General AmigaOS

Who is online

Users browsing this forum: No registered users and 2 guests