How to programatically open:
Charm Bar
Power Options
Start Menu
in windows 8?
I want to be able to open them from within my c# application
Cannot find the documentation I need
Thanks!
I'd bet sending the Windows key (and the other key, as needed), would be sufficient.
Here is another post on how to do so with an API call.
To open...
- ... the Start Screen - just send the Windows key.
- ... the Charms - send the Windows key + C.
- ... the settings Charms bar (closet to the power options) - send the Windows key + I.
Since the question was referred in another place I really thing should share the answer to that over her ..
The truth is a charmbar cannot be opened programatically in metro app development for metro you can access various charms menu like settings share.
Here's a full sample for that metro charms
But for c# wpf app
Heres a SO answer and I guess it works :)
This is the answer for the charms bar . Rest two need to search . If some one benifits :)
POWER :
Process.Start("powercfg.cpl"); reference : msdn pow options
AND start menu
Code Project
来源:https://stackoverflow.com/questions/14149603/programmatically-open-charm-bar-power-bar-and-start-menu-with-c-sharp