4

I have a C# console app that is trying to start a legacy desktop app. I want this legacy desktop app to start and display even if the current foreground window is the Windows 8 Start Screen or a Start Screen application.

If I start the legacy desktop app, it will launch, but it launches behind the Windows 8 Start Screen and does not show. If I click on the "Desktop" tile, I see the app has launched. But I want the app to launch /AND/ show.

Is there a way to both start a legacy desktop application and show it, even if the Windows 8 Start Screen is showing??

Any ideas??

3
  • 2
  • How about without UIAcess="true"? May 27, 2013 at 12:55
  • 1
    That's only half the story, you also have to buy a certificate. Apps forcing their preference on the user just isn't very appropriate. The user will pick himself, either by using an add-on from a company like Stardock or by using the upcoming Windows 8.1 that will make it an option. May 27, 2013 at 16:47

1 Answer 1

0

Show desktop

From https://amalhashim.wordpress.com/2012/04/13/c-show-desktop/

Using C# we can write code to Show Desktop. Same effect as clicking on “Show Desktop” icon on Taskbar.

First, add reference to “Microsoft Shell Controls And Automation” from COM tab of “Add Reference” dialog

Shell32.ShellClass shell = new Shell32.ShellClass();
shell.MinimizeAll();

Or use this approach: Minimizing all open windows in C#

Check if Windows 8 start screen is active

IMetroMode::IsLauncherVisible in C# via pInvoke?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.