Greetings, I use a WindowGroup object to make my document window floating, with these parameters: wg=new WindowGroupMBS wg.Create(6) wg.Level=wg.LevelForKey(7)
Then I store my window instance in a variable (app.CurrentWinMain) and say CurrentWinMain.WindowGroupMBS=wg (just to explain). Now, whenever I show a MsgBox, the app hangs (with the coloured mouse cursor). I can give the crash log when I force quit, if you want. I've tried a workaround: Sub ShowMsgBox(Msg As String) if CurrentWindow<>nil then CurrentWindow.WindowGroupMBS=nil MsgBox Msg if CurrentWindow<>nil and app.Preferences.AlwaysFloating then CurrentWindow.WindowGroupMBS=app.wg End Sub … hoping this would “deactivate” the group, show the MsgBox like in normal conditions, and set the window back to the group, but it doesn't (same crash). I'm hesitating trying with DoEvents after setting the group to nil in the code above (even if it would work, that's a method that should be avoided whenever possible). Does WindowGroup do “bad” things or undocumented by Apple? Are there workarounds? _______________________________________________ Mbsplugins_monkeybreadsoftware.info mailing list [email protected] https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info
