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?
I wonder how to switch desktop to metro UI programmatically. I know pressing Windows
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
For the desktop application
You can you window service host. Refer to link Pro-grammatically open window start menu
Use P/Invoke to send window key (From the link)
For the modern UI app, I am not sure if it is possible to do so due to limited API support.