Page 2 of 2

Re: System progs preventing WB screenmode change.

Posted: Tue Jul 21, 2015 6:07 pm
by xenic
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.

Re: System progs preventing WB screenmode change.

Posted: Tue Jul 21, 2015 6:36 pm
by xenic
@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.

Re: System progs preventing WB screenmode change.

Posted: Tue Jul 21, 2015 9:22 pm
by mritter0
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.