MDI background question and bug report
when designing an MDI application, is there a way we can get rid of that nasty GRAY background? lol
I've tried making a subapp with a gradient init and having the window control object resize it to the correct size when I change the main window size, but when I have a subapp ontop of that, it just pastes (trails) into its background without updating.
Also, when I build the exe, the ccns I have used as the subapps bring up 'missing file' error messages. one is cannot find 'KCActiveX.mfx', and one is 'KCBoxA.mfx', and one is the KCCombo.mfx file.
-Thanks!
-Mel
Re: MDI background question and bug report
Try selecting the "Clip siblings" option for the background sub-application, and in this sub-app insert a Window Control object and do a Start of Frame / Window Not Always on Top + Bring Window to Back.
About the second problem, if you load the CCN files with expressions in the event editor, MMF2 has no way to know which extensions they use. In this case you have to put a copy of these extensions in the main application.
Yves.
Re: MDI background question and bug report
ahh.. Yes! We had a similar problem before .. I'll go back and add them and see if I can get it working!
Thanks Yves, again - You're the man!
-Mel
Re: MDI background question and bug report
Fixed the extension thing ... I just made a frame at the end of the application and loaded it with every MMF Extension I had! LOL
unfortunately, I'm still getting those trails over the background app. Im gona shrink it so I can email it to you, Yves..
-Mel
Re: MDI background question and bug report
-Found a workaround for the nasty trails!
For future reference to anyone else experiencing the same problem with trails being left in a subapp behind another, do this workaround:
-Create an active object slightly bigger than the app leaving the trails in the background app.
-Make its semi-transparancy 128 (so it appears invisible).
-keep track of the movement of the app in front using global values for the X and Y positions.
-whenever the app in front moves, move the active object to its positions using the global values you just set up. The trail should not be visible as this forces MMF to redraw the area that left the trail.
Slightly long winded, and a slight performance hit, but it does work!
-Mel
Re: MDI background question and bug report
Hmm... a little complicated. :crazy: Could send me your application? (the one without the workaround)
Yves.
Re: MDI background question and bug report
Re: MDI background question and bug report
There is no redraw function in one of the default MMF2 objects ?
Re: MDI background question and bug report
Off topic, but MelliGeorgiou your nickname is very funny and weird too.
Re: MDI background question and bug report
Quote:
Originally Posted by Sphax
There is no redraw function in one of the default MMF2 objects ?
There should be in the Fast Loop object, tho.