c# - 2 columns window with built-in keyboard -


hi build app running on windows 7 using wpf 2 columns 1 column virtual keyboard or on-screen keyboard (osk) , other column content of app.

the keyboard appear on every page/window of app. keyboard pretty simple, alphabet , numeric buttons such enter , del. questions are:

  1. how create 2 columns on window?
  2. is there free use keyboard attach project? , how can create own virtual keyboard?
  3. how make virtual keyboard appear on every window?

building 2 columns simple. add grid 2 columndefinitions this

<grid>     <grid.columndefinitions>         <columndefinition width="auto" />         <columndefinition width="*" />     </grid.columndefinitions>     <keyboard grid.column="0" />     <customcontent grid.column="1" /> </grid> 

for keyboard control, can have @ this link

also, if don't want implemented complex thing, can open onscreen keyboard using -

public void checkkeyboard()  {     keyboardcapabilities keyboardcapabilities = new windows.devices.input.keyboardcapabilities();     var iskeyboardpresent = keyboardcapabilities.keyboardpresent != 0 ? true : false;     if(!iskeyboardpresent)         showkeyboard(); }  public void showkeyboard() {     path(environment.specialfolder.system) + path.directoryseparatorchar + "osk.exe"); } 

Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -