Reputation: 2124
I'm trying to trick windows 8 into thinking there is a touch screen connected. I've been searching the web for a way to bring up the keyboard that should be displayed once you click on a text box (while with a touch screen), but I've come up empty...
Can anyone tell if there is a way to get the virtual (not OSK!) keyboard in metro to come up even without a touch screen? Perhaps a setting or some work-around.
Thanks
Upvotes: 2
Views: 1078
Reputation: 18803
One way to do this is to run your application inside of the Visual Studio simulator. To do this click on the drop-down in the debug menu and change the selection from Local Machine to Simulator:
Then when you debug, VS will bring up a device simulator. You can then click on the hand in the upper right to enable using the mouse in touch mode:
Finally, click on a control that requires the keyboard, and you should see the onscreen keyboard come up.
More info on Testing Windows 8 apps using Visual Studio 2012 at MSDN.
Upvotes: 4