Hi,
I just noticed that Hollywood v. 8.0 by default compiles projects as a Commodity (cool). Hide interface from Exchange probably hides Hollywood displays just fine. In my MUI Royale project, however, the Hollywood display is hidden from the start and Hide Interface from Exchange does nothing. Is there a way to hide the MUI Royale window when a user clicks Hide interface from Exchange? Thanks for the help.
NathanH
Exchange Interface and MUI Royale Project
Re: Exchange Interface and MUI Royale Project
I've made it like this:
The p_MUI_Hack() shouldn't basically be needed, but for some reason I can't uniconify the program on MorphOS if I've iconified it with Exchange and try to uniconify it by double clicking the app icon. Uniconifying with the Exchange works, but for this special case I made this little "hack", because it seems to work if there are some events going on in the program
Code: Select all
Function p_MUI_Hack()
If mui.Get("app", "iconified") Then SetTimeout(2, p_MUI_Hack, 500)
EndFunction
Function p_Iconify(msg)
If msg.action="HideWindow"
mui.Set("app", "iconified", True)
p_MUI_Hack()
Else
mui.Set("app", "iconified", False)
EndIf
EndFunction
InstallEventHandler({ShowWindow=p_Iconify, HideWindow=p_Iconify})
Re: Exchange Interface and MUI Royale Project
Thanks very much! I'll give it a try.
NathanH
NathanH
Re: Exchange Interface and MUI Royale Project
It worked just great, thanks!
NathanH
NathanH
- airsoftsoftwair
- Posts: 5626
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: Exchange Interface and MUI Royale Project
Hmm, sounds like something for a bug reportjPV wrote: ↑Sun Sep 01, 2019 3:14 pm but for some reason I can't uniconify the program on MorphOS if I've iconified it with Exchange and try to uniconify it by double clicking the app icon. Uniconifying with the Exchange works, but for this special case I made this little "hack", because it seems to work if there are some events going on in the program
Re: Exchange Interface and MUI Royale Project
Yea... now that I try to refresh my memory, I thought that this might get fixed by the "MUI refresh" fix, because work-around is similar, but I don't think that's the case afterall... so I'll make a report soon when I still remember it