seems as if there is no really solution. 1.) app is borderless -> it doesn't get the "minimize" from minimize all 2.) app doesn't show in taskbar -> that is a "design error", so desktop mode is not automagically switched off by maximizing... One workaround could be to set the app to TopMost on clicking the icon - but then you need a timer to reset the TopMost. Another could be to set showintaskbar to true and then again to false - that works, but all windows are destroyed and recreated ... ending up in flickering. I think a proper solution would at least offer the possibility to ask the OS, whether it is in desktop mode or not. Better, there was an event "DesktopmodeChanged" to which my app could bind to - then my app would know the mode and could behave correctly. Then, only the possibility to switch that mode programmatically would still be missing ... that's it. this case is closed, my app is living with this little (?) bug. bye, beakling |