Use Built In Soft Keyboard in Win 8 DirectX Metro App - input

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.
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.
If it is possible, how do I do it?

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.

Related

Is there a standard UWP "Symbols & Special Characters" dialog that I can use in my app?

I have a basic word-processing Universal Windows app running on Windows 10 desktop devices.
I'd like to support adding symbols and special characters such as greek letters and mathematical operators.
Is there a UWP system UI that I could present?
In Word/Powerpoint there is the menu "Insert → Symbol" that brings up this window:
Is it possible to present this dialog or something similar from a UWP app? I'd like to avoid having to re-implement this.
Closest thing I found is pressing the Windows Key + ; but that only brings up a window for inserting emoji, not symbols:
You may use this https://learn.microsoft.com/en-us/uwp/api/windows.ui.xaml.controls.symbol
Or special fonts or svg icons.

Panorama Control in Universal Windows App

I´m wondering if there´s a way to implement the Panorama Control from Windows phone 8 into Microsofts new universal Windows platform. The look and feel of the Panorama Control is great and I really can´t figure out why Microsoft didn´t implement this Control into UWP.
Actually I´m new to UWP (Coded WinForms Projects, only) and I´m looking for some layouting Standards which can help me to create applications for multiple devices.
In UWP you can use Hub or Pivot controls
Take a look at Navigation design basics for UWP apps

How to change camera focus in adobe air 14?

Is there any way to change the camera focus in Adobe Air 14 without a Native Extension?
I am trying to find a way to control the Camera's manual focus.
You need to find your camera DLL(if you developing this for Windows).
I know that Nikon D90 have own *.DLL's that provide full range of own API. So you need to develop ANE that will send calls to that dll and receive feedback.
Also same way you can do live preview (I done this 2 years ago).

Adding an Appbar in xaml (Universal App)

How do I add an appbar with buttons to a Windows Phone 8.1 app using the Hub template?
I do not see any clear examples of how to do this.
Specifically, using the Hub template, I want to add appbar menu items to the ItemsPage.xaml.
In Windows Phone 8.1 projects you have to use the CommandBar API.
Take a look on this guide, it's for Windows 8.1, but the syntax is exactly same. Note that you have to only use the BottomAppBar where the PrimaryCommands are displayed as standard AppBar buttons as we know them, and the SecondaryCommands are displayed as Menu Items.

How to make a custom tile in Windows 8 from an old program?

I've got an old Visual Studio 6-made program, and when I install it on Windows 8, it has a default tile. Problem is, it's the smaller tile and the name of the program is too long to fit in comfortably, plus the icon is resized and looks bad.
Is there a way to create a custom Windows 8 tile that's got a different size and icon, without actually creating a specific Windows 8 program? I'd like to be able to do this with batch files as well if possible.
Metro apps in Windows 8 have the full experience of creating live tiles, secondary tiles, wide tiles, etc. Only Metro apps can customize their tiles, not desktop apps. The tile APIs exist only in WinRT for Metro apps.
For a desktop app like you have (the "old Visual Studio 6-made program" that is not Metro), you can try this: http://msdn.microsoft.com/en-us/library/windows/desktop/cc144119(v=vs.85).aspx. Make sure to click on the other topics in the left sidebar too.
Edit:
This method can change the icon for older applications. Since the icon is what is used in the start menu, this is a way to give older apps a more attractive static icon in the new start menu.
Whilst live tiles are not supported for desktop applciations in Windows 8, you can improve the appearence of the icons by ensuring your Icon resource has sizes for 48px, 64px, 96px and 128px
To create the tile, right click on the executable (.exe, .com, .bat, etc), then left click on "Pin to Start".
To resize the tile, right click on the tile and select the size you want.
To move the tile, drag and drop to where you want it.
If you want to change the name, make a shortcut, change the shortcut name to what you want, then pin that to start.