Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8892409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T22:59:25+00:00 2026-06-14T22:59:25+00:00

I wonder how to switch desktop to metro UI programmatically. I know pressing Windows

  • 0

I wonder how to switch desktop to metro UI programmatically. I know pressing Windows key can do it but how to do same thing by code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T22:59:27+00:00Added an answer on June 14, 2026 at 10:59 pm

    For the desktop application

    1. You can you window service host. Refer to link Pro-grammatically open window start menu

    2. Use P/Invoke to send window key (From the link)

      private static extern int keybd_event(Byte bVk, Byte bScan, long dwFlags, long dwExtraInfo);
      private const byte UP = 2;
      private const byte CTRL = 17;
      private const byte ESC = 27;
      
      Finally on the event where you want to open start menu use :
      // Press Ctrl-Esc key to open Start menu
      keybd_event(CTRL, 0, 0, 0);
      keybd_event(ESC, 0, 0, 0);
      
      // Need to Release those two keys
      keybd_event(CTRL, 0, UP, 0);
      keybd_event(ESC, 0, UP, 0);
      

    For the modern UI app, I am not sure if it is possible to do so due to limited API support.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am developing a pet project with Clojure, but wonder if I can speed
I wonder if I can turn the following chart into switch-case statement in android.
wonder whether someone can help me with the following one... I have a struct
I wonder about that can I write native SQL to add or delete operations
We can switch to different .NET Framework target in Visual Studio after 2008. I
I got this c++ macro and wonder what they mean by code%2 (the percentage
I wonder if this … inputs.keydown(function (e) { switch (e.keyCode) { case 13: //Enter
I have a sample application and wonder if anyone can shine a light on
wonder why when I export my project to *.air and I install it on
wonder what's wrong <table id=tblDomainVersion> <tr> <td>Version</td> <td>No of sites</td> </tr> <tr> <td class=clsversion>1.25</td>

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.