Nick Banks
Nick Banks

Reputation: 4408

Use Built In Soft Keyboard in Win 8 DirectX Metro App

Part of my app requires the user to enter text (username/password & chat) and I'd prefer not have to create my own keyboard code.

  1. Is there a way to use the built in software keyboard for DirectX Metro Apps? I just need a way for touch users to enter text.
  2. If it is possible, how do I do it?

Upvotes: 1

Views: 479

Answers (1)

Filip Skakun
Filip Skakun

Reputation: 31724

I'm not sure if DirectX itself has something built-in, but you can mix DirectX with XAML - e.g. you could use SwapChainBackgroundPanel where all your DirectX rendering would occur and overlay a XAML TextBox where you would capture your text input.

Upvotes: 2

Related Questions