Building Virtual Keyboard in WPF – Custom editors, accessibility and attached properties
The challenge – build alternative on-screen keyboard to appear on each textbox, marked to use such keyboard.
The reason – custom editor, ability to use touch screen input, etc
Realization: WPF, two windows, a little hooking, attached properties, custom commands and gestures.
Let’s start working. First of all, we should provide ability to “attach” new control to any textbox (richtextbox) in any application. For this purpose, we’ll use attached events, so, syntax will looks like this
<TextBox/>
<TextBox l:VKeyboard.AttachVKeyboard=”true”/>
Also, we do not want to attach it to really any textbox, we should be able to do it for upper containers. Something like this
<StackPanel l:VKeyboard.AttachVKeyboard=”true”>
<TextBox/>
<TextBox/>
<Button>Duh!</Button>
</StackPanel>
Our custom keypad should appear above the window, under the control it attached to and should not be worry about lost focus. Thus we can not use neither Popup and Tooltip. We’ll use custom borderless window
public class VKeyboard : Window
We should be able to change skins and override it’s templates, so we’ll create ResourceDictionary for this window and write it’s default template.
<Style TargetType=”{x:Type local:VKeyboard}”>
<Setter Property=”Topmost” Value=”True”/>
<Setter Property=”ShowInTaskbar” Value=”False”/>
<Setter Property=”Focusable” Value=”False”/>
<Setter Property=”Background” Value=”White”/>
<Setter Property=”Width” Value=”300″/>
<Setter Property=”Height” Value=”300″/>
<Setter Property=”Template”>
<Setter.Value>
<ControlTemplate TargetType=”{x:Type local:VKeyboard}”>
<Border Background=”{TemplateBinding Background}”
BorderBrush=”{TemplateBinding BorderBrush}”
BorderThickness=”{TemplateBinding BorderThickness}”
Focusable=”False”>
<Grid>
We must allow of using input from this control externally, so we’ll create RoutedUICommand for each of our buttons
<Button Command=”local:VKeyboard.ButtonCallPressedCommand” Grid.Column=”0″ Grid.Row=”0″ Content=”{StaticResource CallImg}”/>
<Button Command=”local:VKeyboard.ButtonEndPressedCommand” Grid.Column=”2″ Grid.Row=”0″ Content=”{StaticResource EndCallImg}”/>
<Button Command=”local:VKeyboard.Button1PressedCommand” Grid.Column=”0″ Grid.Row=”1″ Content=”1″/>
<Button Command=”local:VKeyboard.Button2PressedCommand” Grid.Column=”1″ Grid.Row=”1″ Content=”2 ABC”/>
<Button Command=”local:VKeyboard.Button3PressedCommand” Grid.Column=”2″ Grid.Row=”1″ Content=”3 DEF”/>
<Button Command=”local:VKeyboard.Button4PressedCommand” Grid.Column=”0″ Grid.Row=”2″ Content=”4 GHI”/>
<Button Command=”local:VKeyboard.Button5PressedCommand” Grid.Column=”1″ Grid.Row=”2″ Content=”5 JKL”/>
<Button Command=”local:VKeyboard.Button6PressedCommand” Grid.Column=”2″ Grid.Row=”2″ Content=”6 MNO”/>
<Button Command=”local:VKeyboard.Button7PressedCommand” Grid.Column=”0″ Grid.Row=”3″ Content=”7 PQRS”/>
<Button Command=”local:VKeyboard.Button8PressedCommand” Grid.Column=”1″ Grid.Row=”3″ Content=”8 TUV”/>
<Button Command=”local:VKeyboard.Button9PressedCommand” Grid.Column=”2″ Grid.Row=”3″ Content=”9 WXYZ”/>
<Button Command=”local:VKeyboard.ButtonStarPressedCommand” Grid.Column=”0″ Grid.Row=”4″ Content=”*”/>
<Button Command=”local:VKeyboard.Button0PressedCommand” Grid.Column=”1″ Grid.Row=”4″ Content=”0″/>
<Button Command=”local:VKeyboard.ButtonHashPressedCommand” Grid.Column=”2″ Grid.Row=”4″ Content=”#”/>
A little “beauty” and we done
<Grid.Resources>
<Path x:Key=”CallImg” Stretch=”Uniform” Fill=”#FFFFFFFF” Margin=”8,8,8,8″ Data=”F1 M 0.65625,31L 0,30.5C 0.247479,21.7008 -0.845665,11.3964 4.625,4.5C 5.99938,2.76746 7.50086,0.945534 9.5,0C 10.8189,-0.623779 25.7734,-0.289833 27,0.5C 30.6887,2.87514 30.7009,8.45779 32.4063,12.5C 34.0938,16.5 36.8862,20.1979 37.4688,24.5C 38.2858,30.5337 30.8386,34.8158 28.6563,40.5C 27.4057,43.7572 32.0234,46.625 34,49.5C 38.7071,56.3467 44.4278,62.889 51.5,67.25C 54.5603,69.1371 57.6135,71.0564 60.8333,72.6563C 61.9444,73.2083 63.0556,73.7604 64.1667,74.3125C 65.2778,74.8646 66.3323,76.388 67.5,75.9688C 69.4896,75.2544 70.659,73.1342 72,71.5C 72.5881,70.7833 75.9005,66.8194 77,65.5C 78.7419,63.4098 80.8023,60.2078 83.5,60.5625C 88.2582,61.1881 92.1,64.825 96.4,66.9563C 97.8333,67.6667 99.2667,68.3771 100.7,69.0875C 102.133,69.7979 103.57,70.5016 105,71.2188C 106.337,71.8891 108.2,71.9867 109,73.25C 109.725,74.3947 108.906,75.9583 108.859,77.3125C 108.813,78.6667 108.766,80.0208 108.719,81.375C 108.672,82.7292 108.625,84.0833 108.578,85.4375C 108.531,86.7917 109.037,88.285 108.438,89.5C 105.738,94.9684 99.4967,98.9543 93.5,100.063C 89.3677,100.826 73.8381,99.7891 72.5,99.375C 71.6472,99.1111 66.269,97.6981 65.5,97.375C 58.3355,94.3649 51.1421,91.284 44.5,87.25C 24.181,74.9095 8.33594,53.4982 0.65625,31 Z “/>
<Path x:Key=”EndCallImg” Stretch=”Uniform” Fill=”#FFFFFFFF” Margin=”15,15,15,15″ Data=”F1 M 108.66,31.2772L 109.485,31.2593C 114.774,38.2957 122.05,45.6741 122.068,54.4768C 122.073,56.6882 122.033,59.0488 121.059,61.034C 120.416,62.3437 108.512,71.4007 107.06,71.5473C 102.695,71.988 99.2068,67.6293 95.3543,65.5303C 91.5421,63.4532 87.0538,62.3009 83.9175,59.2991C 79.5188,55.089 82.6754,47.0995 80.8404,41.2938C 79.7889,37.967 74.3904,38.6013 71.0529,37.5842C 63.1051,35.1622 54.5542,33.6098 46.3054,34.6056C 42.736,35.0365 39.152,35.4378 35.6368,36.1928C 34.4237,36.4534 33.2107,36.7139 31.9976,36.9744C 30.7846,37.235 29.0106,36.7005 28.3585,37.756C 27.2475,39.5545 27.654,41.9414 27.6234,44.0552C 27.6099,44.9822 27.4891,50.1465 27.4513,51.8635C 27.3914,54.5837 27.7749,58.372 25.444,59.7755C 21.3326,62.2511 16.0616,61.8004 11.3704,62.8128C 9.80669,63.1502 8.24296,63.4877 6.67923,63.8252C 5.1155,64.1627 3.55334,64.5075 1.98804,64.8376C 0.524829,65.1462 -0.993193,66.2309 -2.40619,65.7413C -3.68651,65.2977 -4.02044,63.5646 -4.82757,62.4762C -5.63469,61.3879 -6.44182,60.2995 -7.24894,59.2112C -8.05607,58.1228 -8.86319,57.0345 -9.67032,55.9461C -10.4774,54.8578 -11.8037,54.0051 -12.0917,52.6811C -13.388,46.7222 -10.9898,39.7154 -6.99004,35.1121C -4.23386,31.94 8.5586,23.0745 9.86325,22.5646C 10.6947,22.2396 15.7816,19.9936 16.5844,19.7672C 24.0637,17.6572 31.6096,15.5847 39.3183,14.6011C 62.8999,11.5922 88.6345,18.4657 108.66,31.2772 Z “/>
<LinearGradientBrush x:Key=”BackgroundBrush” EndPoint=”0.5,1″ StartPoint=”0.5,0″>
<GradientStop Color=”#FFBADAC0″ Offset=”0″/>
<GradientStop Color=”#FF3EAF44″ Offset=”0.379″/>
</LinearGradientBrush>
<LinearGradientBrush x:Key=”BackgroundPressBrush” EndPoint=”0.5,1″ StartPoint=”0.5,0″>
<GradientStop Color=”#FFBADAC0″ Offset=”1″/>
<GradientStop Color=”#FF3EAF44″ Offset=”0.308″/>
</LinearGradientBrush>
<Style TargetType=”{x:Type Button}” BasedOn=”{x:Null}”>
<Setter Property=”Background” Value=”{StaticResource BackgroundBrush}”/>
<Setter Property=”BorderBrush” Value=”{StaticResource BackgroundBrush}”/>
<Setter Property=”Foreground” Value=”White”/>
<Setter Property=”FontStretch” Value=”UltraExpanded”/>
<Setter Property=”FontWeight” Value=”Black”/>
<Setter Property=”FontSize” Value=”20″/>
<Setter Property=”Margin” Value=”2,2,2,2″/>
<Setter Property=”Template”>
<Setter.Value>
<ControlTemplate TargetType=”{x:Type Button}”>
<Grid x:Name=”Grid”>
<Rectangle x:Name=”Background” RadiusX=”3″ RadiusY=”3″ Stroke=”{TemplateBinding BorderBrush}” Fill=”{TemplateBinding BorderBrush}”/>
<ContentPresenter HorizontalAlignment=”{TemplateBinding HorizontalContentAlignment}” Margin=”{TemplateBinding Padding}” VerticalAlignment=”{TemplateBinding VerticalContentAlignment}” RecognizesAccessKey=”True”/>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property=”IsPressed” Value=”true”>
<Setter Property=”Fill” Value=”{StaticResource BackgroundPressBrush}” TargetName=”Background”/>
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
</Grid.Resources>
Another small touch – if we’ll AllowTransparency and set WindowStyle within our resource dictionary or it’s style we’ll get an exception “Cannot change AllowsTransparency after Window has been shown.” The reason is simple – styles applies after the window handler created, thus we can not change transparency within template. Thus WindowStyle none cannot be applied there as well. We’ll put it into default constructor.
public VKeyboard()
{
this.AllowsTransparency = true;
this.WindowStyle = WindowStyle.None;
}
After we done with the control, let’s start to build business logic. First of all routed commands
public static RoutedUICommand ButtonCallPressedCommand = new RoutedUICommand(“Call”,”Call”,typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.Enter) } ));
public static RoutedUICommand ButtonEndPressedCommand = new RoutedUICommand(“End call”, “End call”, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.Delete), new KeyGesture(Key.Back) }));
public static RoutedUICommand Button1PressedCommand = new RoutedUICommand(“1″, “1″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad1)/*, new KeyGesture(Key.D1)*/ }));
public static RoutedUICommand Button2PressedCommand = new RoutedUICommand(“2″, “2″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad2)/*, new KeyGesture(Key.D2)*/ }));
public static RoutedUICommand Button3PressedCommand = new RoutedUICommand(“3″, “3″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad3)/*, new KeyGesture(Key.D3)*/ }));
public static RoutedUICommand Button4PressedCommand = new RoutedUICommand(“4″, “4″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad4)/*, new KeyGesture(Key.D4)*/ }));
public static RoutedUICommand Button5PressedCommand = new RoutedUICommand(“5″, “5″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad5)/*, new KeyGesture(Key.D5)*/ }));
public static RoutedUICommand Button6PressedCommand = new RoutedUICommand(“6″, “6″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad6)/*, new KeyGesture(Key.D6) */ }));
public static RoutedUICommand Button7PressedCommand = new RoutedUICommand(“7″, “7″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad7)/*, new KeyGesture(Key.D7)*/ }));
public static RoutedUICommand Button8PressedCommand = new RoutedUICommand(“8″, “8″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad8)/*, new KeyGesture(Key.D8) */ }));
public static RoutedUICommand Button9PressedCommand = new RoutedUICommand(“9″, “9″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad9)/*, new KeyGesture(Key.D9)*/ }));
public static RoutedUICommand Button0PressedCommand = new RoutedUICommand(“0″, “0″, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.NumPad0)/*, new KeyGesture(Key.D0)*/ }));
public static RoutedUICommand ButtonStarPressedCommand = new RoutedUICommand(“Star”, “Star”, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.Multiply)/*, new KeyGesture(Key.D8, ModifierKeys.Shift)*/ }));
public static RoutedUICommand ButtonHashPressedCommand = new RoutedUICommand(“Hash”, “Hash”, typeof(Button),
new InputGestureCollection(new KeyGesture[] { new KeyGesture(Key.Divide)/*, new KeyGesture(Key.D3,ModifierKeys.Shift)*/ }));
As you can see, we have small problem here. For some reason Key.D… gestures cannot be use in WPF. The reason is silly, but currently there is no workaround for it. I’ll think about this issue and maybe I’ll find kind’of trick to do. For now, we’ll just leave it as is and create command bindings.
CommandBinding bCall = new CommandBinding(ButtonCallPressedCommand, ExecutedButtonPressedCommand);
CommandBinding bEnd = new CommandBinding(ButtonEndPressedCommand, ExecutedButtonPressedCommand);
CommandBinding b1 = new CommandBinding(Button1PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b2 = new CommandBinding(Button2PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b3 = new CommandBinding(Button3PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b4 = new CommandBinding(Button4PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b5 = new CommandBinding(Button5PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b6 = new CommandBinding(Button6PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b7 = new CommandBinding(Button7PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b8 = new CommandBinding(Button8PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b9 = new CommandBinding(Button9PressedCommand, ExecutedButtonPressedCommand);
CommandBinding b0 = new CommandBinding(Button0PressedCommand, ExecutedButtonPressedCommand);
CommandBinding bStar = new CommandBinding(ButtonStarPressedCommand, ExecutedButtonPressedCommand);
CommandBinding bHash = new CommandBinding(ButtonHashPressedCommand, ExecutedButtonPressedCommand);CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), bCall);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), bEnd);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b1);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b2);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b3);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b4);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b5);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b6);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b7);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b8);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b9);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), b0);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), bStar);
CommandManager.RegisterClassCommandBinding(typeof(VKeyboard), bHash);
We’ll create Dependency Property to hold dialed number and add routed event to handle dial press
public string DialedNumber
{
get { return (string)GetValue(DialedNumberProperty); }
private set { SetValue(DialedNumberPropertyKey, value); }
}private static readonly DependencyPropertyKey DialedNumberPropertyKey =
DependencyProperty.RegisterReadOnly(“DialedNumber”, typeof(string), typeof(VKeyboard), new UIPropertyMetadata(default(string)));
public static readonly DependencyProperty DialedNumberProperty = DialedNumberPropertyKey.DependencyProperty;public static readonly RoutedEvent CallEvent = EventManager.RegisterRoutedEvent(“Call”, RoutingStrategy.Bubble, typeof(RoutedEventHandler), typeof(VKeyboard));
public event RoutedEventHandler Call
{
add { AddHandler(CallEvent, value); }
remove { RemoveHandler(CallEvent, value); }
}void RaiseCallEvent()
{
RoutedEventArgs newEventArgs = new RoutedEventArgs(VKeyboard.CallEvent);
RaiseEvent(newEventArgs);
}
So far, so good. Now the turn of complicated things. Let’s treat our attached event.
public static bool GetAttachVKeyboard(DependencyObject obj)
{
return (bool)obj.GetValue(AttachVKeyboardProperty);
}public static void SetAttachVKeyboard(DependencyObject obj, bool value)
{
obj.SetValue(AttachVKeyboardProperty, value);
}public static readonly DependencyProperty AttachVKeyboardProperty =
DependencyProperty.RegisterAttached(“AttachVKeyboard”, typeof(bool), typeof(VKeyboard), new UIPropertyMetadata(default(bool), AttachVKeyboardPropertyChanged));static void AttachVKeyboardPropertyChanged(DependencyObject s, DependencyPropertyChangedEventArgs e)
{
AttachVKeyboardPropertyChanged handler occurs when someone changes the value. So, we can get the requester from this handler and work with it. We’ll check what the type of the sender and do whatever we should do.
If the sender is TextBox we know what to do
if (s is TextBoxBase)
{
TextBoxBase control = s as TextBoxBase;
if ((bool)e.NewValue)
{
control.AddHandler(TextBoxBase.GotFocusEvent, new RoutedEventHandler(OnHostFocused), true);
control.AddHandler(TextBoxBase.LostFocusEvent, new RoutedEventHandler(OnHostUnFocused), true);
}
else
{
control.RemoveHandler(TextBoxBase.GotFocusEvent, new RoutedEventHandler(OnHostFocused));
control.RemoveHandler(TextBoxBase.LostFocusEvent, new RoutedEventHandler(OnHostUnFocused));
}
}
However, it is it not we should run recursively and find all textboxes inside it. We have two types of containers – Panels (where there is a number of children) and Decorators (where there is only one). Another problem, that when the control changes the value it still has no children inside. Other works it is not loaded. We should know it to get appropriate action after the sender will load itself with all dependencies. So the code will looks like this:
if (s is Panel)
{
Panel p = s as Panel;
if (p.IsLoaded)
{
OnMultiHostLoaded(p, null);
}
else
{
p.AddHandler(Panel.LoadedEvent, new RoutedEventHandler(OnMultiHostLoaded), true);
}
}
else if (s is Decorator)
{
Decorator d = s as Decorator;
if (d.IsLoaded)
{
OnSingleHostLoaded(d, null);
}
else
{
d.AddHandler(Panel.LoadedEvent, new RoutedEventHandler(OnSingleHostLoaded), true);
}
}
Now, the only thing we should do it to look into it’s children and attach there (we wont forget to remove handlers)
static void OnSingleHostLoaded(object s, RoutedEventArgs e)
{
Decorator d = s as Decorator;
bool val = GetAttachVKeyboard(d);
DependencyPropertyChangedEventArgs ev = new DependencyPropertyChangedEventArgs(VKeyboard.AttachVKeyboardProperty, !val, val);
AttachVKeyboardPropertyChanged(d.Child, ev);
d.RemoveHandler(Decorator.LoadedEvent, new RoutedEventHandler(OnSingleHostLoaded));}
static void OnMultiHostLoaded(object s, RoutedEventArgs e)
{
Panel p = s as Panel;
bool val = GetAttachVKeyboard(p);
DependencyPropertyChangedEventArgs ev = new DependencyPropertyChangedEventArgs(VKeyboard.AttachVKeyboardProperty, !val, val);
for (int i = 0; i < p.Children.Count; i++)
{
AttachVKeyboardPropertyChanged(p.Children[i], ev);
}
p.RemoveHandler(Panel.LoadedEvent, new RoutedEventHandler(OnMultiHostLoaded));
}
Done, let’s treat Focus and Unfocus of Textboxes. We have only one keyboard at one time, thus, we’ll make it singleton. Also we should know who is the client of the keypad.
static void OnHostFocused(object s, RoutedEventArgs e)
{
TextBox tb = s as TextBox;
if (CurrentKeyboard == null)
{
CurrentKeyboard = new VKeyboard();
tb.Unloaded += new RoutedEventHandler(tb_Unloaded);
CurrentKeyboard.HookToHandle((HwndSource)PresentationSource.FromVisual(tb));
}
CurrentKeyboard.SetValue(VKeyboard.DialedNumberPropertyKey, tb.Text);
Binding b = new Binding();
b.Source = CurrentKeyboard;
b.Path = new PropertyPath(VKeyboard.DialedNumberProperty);
b.Mode = BindingMode.OneWay;
tb.SetBinding(TextBox.TextProperty, b);
CurrentKeyboard.Client = tb;
}
Very similar thing happens on unfocus.
static void OnHostUnFocused(object s, RoutedEventArgs e)
{
TextBox tb = s as TextBox;
string str = tb.Text;
BindingOperations.ClearBinding(tb,TextBox.TextProperty);
tb.Text = str;
if (CurrentKeyboard != null)
{
CurrentKeyboard.DialedNumber = default(string);
CurrentKeyboard.Client = null;
}
}
Now we should take a look into the location of our virtual keypad. There are some problems with it. One – we should translate the location of client textbox into screen coordinates, due to fact, that we should place another window. FrameworkElement.PointToScreen will do the work.
Another problem is what happen when the whole window moving? How we’ll synchronize the position of virtual upper window with underlying one? Small “unsafe” trick with old good WinProc will help us
internal void HookToHandle(HwndSource source)
{
source.AddHook(new HwndSourceHook(WindowProc));
}System.IntPtr WindowProc(
System.IntPtr hwnd,
int msg,
System.IntPtr wParam,
System.IntPtr lParam,
ref bool handled)
{
switch (msg)
{
case 0×0003:/* WM_MOVE */
setPosition();
break;
}return IntPtr.Zero;
}void setPosition()
{
if (m_client != null)
{Point p = new Point(0, m_client.ActualHeight + 2);
Point sp = m_client.PointToScreen(p);
this.Left = sp.X;
this.Top = sp.Y;
this.Show();
}
else
{
this.Hide();
}
}
We done. Have a nice accessible day with your software and nice fully managed virtual keyboard in WPF.
You may also be interested with:
February 13th, 2008 · Comments (58)
58 Responses to “Building Virtual Keyboard in WPF – Custom editors, accessibility and attached properties”
Leave a Reply
Discover other tags
My tools
- .NET Framework Detector
- Duplicate images finder
- Exchange Security Policy for Windows Mobile Devices Fix
- Gas Price Windows Vista SideBar gadget
- Israel Traffic Information Windows Vista SideBar gadget
- Localization fix for SAP ES Explorer for Visual Studio
- LocTester
- RTL and LTR in Windows Live Writer
- Silverlight controls library
- Snipping tool integration plugin for WLW
- USB FM receiver library
- Vista Battery Saver
- WebCam control for WPF
- Windows Live SkyDrive attachment for Windows Live Writer
- Wireless Migrator
- WPF Virtual Keyboard




January 1st, 2009 at 12:37 am
Hi,
I’m new to the forum and just saying hello.
January 1st, 2009 at 12:37 am
Pingback from The Daily Story » Blog Archive » re: Building Virtual Keyboard in WPF – Custom editors …
January 1st, 2009 at 12:37 am
First off let me say that i really like your site blogs.microsoft.co.il a lot
now.. back to business hehe
I cant say that fully agree with what you typed up… care to explain more?
January 1st, 2009 at 12:37 am
Pingback from windows wont load can i get key code
January 1st, 2009 at 12:37 am
Hello again…I have a problem. Each time I click on a button on my WPF keyboard, the window in which I am typing, loses focus and my keyboard window gains focus. And I still haven’t found I way to solve this when using a WPF window. I have tried the same thing with a form and it works fine. Any ideas?
January 1st, 2009 at 12:37 am
Yes, you can. All you have to do is to SendKey with the input, received by the keyboard.
January 1st, 2009 at 12:37 am
Hello, great example. Does anyone have any idea on how this could be done so that the keyboard sends input in any window that has focus? I mean any window outside this application, e.g. Notepad.
Thanks
January 1st, 2009 at 12:37 am
Great article!
The only problem I can see is that you override any existing binding on the TextBox.TextProperty that is not a good thing, because such virtual keyboard cannot be treated as a transparent solution.
January 1st, 2009 at 12:37 am
Pingback from Wöchentliche Rundablage: | Code-Inside Blog
January 1st, 2009 at 12:37 am
Well, today, we'll speak about math. A lot of math. We have a number of challenges today. Generate
January 1st, 2009 at 12:37 am
You’ve been kicked (a good thing) – Trackback from DotNetKicks.com
February 5th, 2009 at 10:56 am
Пропущено несколько запятых, но на интересность сообщения это никак не повлияло
April 1st, 2009 at 2:54 pm
Hi Everyone,
I have a carpet cleaning business in Houston,TX that was doing pretty good until the economy went bad, and with it my clientele. I have a website for the business but I dont
know what I have to do the get it to show up in a search. Right now it’s somewhere in the yahoo/google netherworld (LOL).
Is there someone on here that can give me some insight or know of anyone that coud give me insight on how I can get my local website on the front
page of a Yahoo or Google search to increase my business without it costing me 5 or 10k $$$? If so please share with me.
I thank you and my hungry over-eating children thank you.
thanks,
May 24th, 2009 at 1:10 pm
Рынок ценных бумаг обусловливается как совокупность экономических отношений, связанных с выпуском и обращением ценных бумаг среди его участников. Объектом рынка ценных бумаг является ценная бумага. Ценная бумага может продаваться и покупаться несконечное число раз, поэтому, для того чтобы товар дошел до своего потребителя, нужна собственная организация товародвижения. Прочитать все про рынок ценных бумаг, систему управления рисками, структуру и организацию ММВБ, портфельное инвестирование Вы сможете на нашем сайте.
Доходность от операций с ценными бумагами
May 25th, 2009 at 12:56 pm
Инвестиционная деятельность в некоторой доле присуща любому
предприятию. При большом выборе видов инвестиций компания часто сталкивается с проблемой выбора инвестиционного решения. Вероятность достижения цели зависит от правильности оценивания риска, полноты и точности его расчета. Так как же не ошибиться в правильности выбора инвестиционного решения? Об этом и многом другом вы узнаете на нашем сайте.
Способы выбора инвестиционных решений
July 14th, 2009 at 4:47 am
Great post! I’ll subscribe right now wth my feedreader software!
July 17th, 2009 at 12:45 pm
What’s up, is there anybody else here?
If there’s anyone else here, let me know.
Oh, and yes I’m a real person LOL.
Peace,
July 26th, 2009 at 10:26 am
Hi Landon,
I am new to this forum and just want to introduce myself.
Brad
August 3rd, 2009 at 4:23 pm
Hows it going,
I have a free amazon delivery coupon if anyone can make use of it
hope this helps
Let me know
[IMG]http://www.cuny.co.uk/comments/cover.jpg[/IMG]
August 3rd, 2009 at 4:29 pm
Hows it going,
i have a free amazon postage coupon if anyone wants it
i hope it saves you abit of cash
Let me know
[IMG]http://www.cuny.co.uk/comments/cover.jpg[/IMG]
September 3rd, 2009 at 9:32 pm
Может быть кто-нить поделится ссылочкой на что-нибудь из этой же тематики? Уж очень заинтересовало
October 10th, 2009 at 7:58 pm
Кинули сегодня в аське ссылку на эту новость – не жалею, что потратил время и перешел:)
November 23rd, 2009 at 11:24 pm
Hey Guys,
I am a student (limited budget) and have seen a few offers for free ipods and iphones. Does anyone Know if any if the free IPhone or Ipod offers are actually legit? I don’t want to waste my time filling out a hundred surveys and was hoping to hear from someone who may have had some success with this.
Thanks
January 27th, 2010 at 12:08 am
הפצה ושיווק בפורומים הינם כלי פרסום אפקטיביים וחדשניים.
כלים אלה בעלי יתרונות בולטים:
1. כאשר תוכן המודעה מנוסח היטב, מעל חצי ממבקרי הפורומים ייחשפו לתכניה ואחוז גבוה מהם יתעניינו ברכישת מוצרכם.
2. קישור לאתרכם יופיע בעמודי פורומים רבים, הגורם לעלייה נכרת בפופולריות שלו (PAGE RANK) ועלייה למיקום גבוה בכל מנועי החיפוש, אשר ימשכו לקוחות רבים להתעניין במוצרכם.
הפצה קבוה ומאסיבית בפורומים מאפשרת לקדם את אתרכם במהירות וביעילות ומבטיחה את מיקומו בעמוד הראשון בכל מנועי החיפוש.
טלפון להזמנות 0548307374
icq 303927119
February 7th, 2010 at 9:34 pm
[b][url=http://sciencestage.com/buyzovirax]zovirax wiki[/url][/b]
Hi my friends! How do your do?
February 9th, 2010 at 9:11 pm
Hello my friands!
How are you friends?
[b][url=http://xohowiiert.t35.com/map.html]japan teen sex movie[/url][/b]
[b][url=http://xohowiiert.t35.com]japanese sex flv [/url][/b]
February 15th, 2010 at 9:39 am
It was rather interesting for me to read the post. Thanx for it. I like such themes and anything connected to them. I would like to read a bit more on that blog soon.
Best wishes
February 17th, 2010 at 2:58 pm
my name is Karen, London is capital of great britain
You very very veru nice and cute
February 23rd, 2010 at 7:26 pm
I am looking around for a startup programme (incubator program) in Scandinavia, could any of you guys come up with a good reference?
February 24th, 2010 at 11:04 am
you have a wonderful site!
April 5th, 2010 at 6:09 am
С нетерпением жду следующих порбликаций
April 24th, 2010 at 5:50 pm
I am the owner of one of the recruiting agency and now some good professional website that is dedicated to professional recruitment, that can help me to expand my business of recruiting. I am also having many professional candidates who are looking for professional jobs and I do also have professional companies seeking professional from different areas right from restaurant jobs to highly trained engineers job and also management jobs. Is there anyone know about anything nice place?
June 12th, 2010 at 5:50 pm
A complete godaddy discounts list:
UKTop10: 30% off domains
UKTop251 : 25% off if $90 or more
UKTop9 : 20% Off Orders over $50 dollars
UKTop8 : 10% off anything
Godaddy hosting coupons:
RUSH20 : 20% Off Hosting (1,2,3 yr accounts)
CHN1 : 10% Off Monthly hosting accounts
Based on order size:
BUCK2 : $5 off order of $30 or more
BUCKOFF : $10 off if $40 or more
Unique
RADSSL : $12.99 SSL ( 56% Off )
AUCTION12 : 50% Off auction accounts
Used some of these for a while now. Print these out.
June 24th, 2010 at 8:40 pm
I adore your blog – great !
July 13th, 2010 at 9:07 pm
I recommend Yahoo Small Business Web Hosting. Management of one’s web site at Yahoo! is really a breeze due to their web hosting handle panel. Every thing from setting up email accounts, acquiring monthly web website statistics, to web site development and maintenance can be easily controlled utilizing one standardized interface.
August 6th, 2010 at 5:55 am
Houston, TX – The Houston Texans signed Andre Johnson to a two-year get development on Thursday, a see to that, according to the Houston Chronicle, makes him the highest paid far-reaching receiver in the NFL.
Johnson, 29, led the NFL in receiving yards the last two seasons and had five years and $35 million surviving on his existing contract.
The Account reported the increase to be worth $38.5 million, including $13 million guaranteed. On normal, Johnson inclination now manufacture $10.5 million per year settled the next seven seasons, not including fulfilment incentives.
“I in any case said I wanted to play in compensation unified line-up, and to be capable to give recompense the Houston Texans to my whole profession is a tremendous honor,” Johnson said. “I always said I wanted to be business of something celebratory, and I knew that coming to a altered organization, things were prospering to be a bantam disrespectful in the creation, and second I think like things are engaging that reform for the benefit of us.”
The University of Miami-Florida yield has burnt- his thorough seven-year pursuit in Houston after the Texans selected him with the third overall pick in the 2003 NFL Draft.
Johnson has recorded back-to-back 1,500-yard receiving seasons, including a 101-catch, 1,569-yard effort last year. He also scored nine touchdowns in 2009 to up his craft unconditional to 42 TDs in 102 games.
“As a service to the matrix two years, unknown has played to the level that this young chains has as fancy that I’ve been round, other than one other person,” said nut omnibus Gary Kubiak. “What he’s been doing has been primary, and there’s a assignment more to come. So, that’s going to be exciting.”
He has caught 587 passes in search 7,948 yards over the indubitably of his calling, no more than two of the numerous club records he owns.
August 6th, 2010 at 9:03 am
i came across blogs.microsoft.co.il from google, here is a great forum i will be coming very often.
i’m Virginia Munoz , now working in Saint Louis .Very glad to know everybody here. i can learn much from you people.
November 3rd, 2010 at 11:16 pm
hello,
it’s my first topic here
i hope to be happy with you
thank you
January 15th, 2011 at 9:15 am
Perche non:)
March 21st, 2011 at 9:30 am
Hello all! Who can tell me about poker bonus site?
I need find best casino and poker bonus code for play.
Sorry fuc**g offtopic!!!
Thx.
April 19th, 2011 at 11:18 pm
Christian Louboutin Very Prive Peep-Toe Shoes Black,Up to 95% OFF! Christian Louboutin Very Prive Peep-Toe Shoes Black Black leather. Peep toe. Covered platform. 4 7/10″ stiletto heel. Signature red sole. Made in Italy,100% Best Quality and Lowest Price Guarantee! If you feel interested in the Christian Louboutin Very Prive Peep Toe Shoes Black ,you can order Christian Louboutin Very Prive Peep-Toe Shoes.Whether you want to look stunningly beautiful at party or want to be a stylish lady at work, these Christian Louboutin boots can actually turn a simple going everyday girl to an exceptionally gorgeous lady.
April 24th, 2011 at 1:08 am
Good Article man
May 11th, 2011 at 12:12 am
Dans cela quelque chose est. Il est clair, merci pour l’explication.
June 21st, 2011 at 11:58 am
Hello all! I like this forum, i set up many compelling people on this forum.!!!
Great Community, consideration all!
July 5th, 2011 at 4:55 pm
Hm ,..nice blog ,.. if you have some time just take a look on my video ,.. tnx in advance ,..
http://www.youtube.com/watch?v=pVjq80t5E7Y
July 14th, 2011 at 11:58 pm
Does your blog have a contact page? I’m having trouble locating it but, I’d like to shoot you an email. I’ve got some ideas for your blog you might be interested in hearing. Either way, great website and I look forward to seeing it grow over time.
September 13th, 2011 at 8:33 pm
As a new user please welcome
November 17th, 2011 at 1:12 pm
Tökéletes kialakítás révén
November 28th, 2011 at 3:45 am
You could not be more on the money.
December 12th, 2011 at 4:26 am
Geschäftszeichen: 11 IN 23/07: In dem Insolvenzverfahren über das Vermögen der
T-C-H Service GmbH & Co. KG, Breitenstraße 37, 36251 Bad Hersfeld (AG Dresden, HRA 5714),
vertreten durch:
1. TCH Vermögensverwaltungs GmbH, (persönlich haftende Gesellschafterin),
vertreten durch:
[b]1.1. Florian Grotehans, Am Baumgarten 12, 36251 Bad Hersfeld, (Geschäftsführer),[/b]
wird die Prüfung der nachträglich angemeldeten Forderungen im schriftlichen Verfahren gemäß § 177 Abs. 1 Satz 2 InsO angeordnet. Geprüft werden alle bislang ungeprüften Forderungen, die noch bis zum 09.08.2011 einschließlich zur Insolvenztabelle angemeldet werden.
Die Schuldnerin, die Insolvenzgläubiger und der Insolvenzverwalter werden aufgefordert, ein eventuelles Bestreiten der Forderungen bis zum 24.08.2011 schriftlich beim Insolvenzgericht einzureichen oder zu Protokoll der Geschäftsstelle zu erklären.
Anderenfalls gelten die Forderungen nach Ablauf dieser Frist als festgestellt. Die bereits geprüften Forderungen werden von der mit diesem Beschluss angeordneten besonderen Forderungsprüfung nicht betroffen.
Amtsgericht Bad Hersfeld, 27.07.2011
December 22nd, 2011 at 3:29 am
Amtsgericht Bad Hersfeld Aktenzeichen: HRB 2126 Bekannt gemacht am: 18.02.2010 12:00 Uhr
Veröffentlichungen des Amtsgerichts Bad Hersfeld In () gesetzte Angaben der Anschrift und des Geschäftszweiges erfolgen ohne Gewähr.
Löschungen von Amts wegen
30.12.2009
Florian Grotehans Vermögensverwaltungs-GmbH, Bad Hersfeld, (Am Baumgarten 12, 36251 Bad Hersfeld).
Die Gesellschaft ist gemäß § 394 Absatz 1 FamFG [b]wegen Vermögenslosigkeit[/b] von Amts wegen gelöscht.
Florian Grotehans Vermögensverwaltungs GmbH vermögenslos!
January 18th, 2012 at 3:37 pm
tutaj dostal W taki sam domu zapytal niepewnie Wisconsky w przerwie na papierosa. Ray darl sie Halla, ale ten, pochyliwszy nisko kamienne bloki fundamentow. sroda, pierwsza on this blog nocy Przy pytanie do siebie. Chodzmy powiedzial cierpliwie Hall do Wisconskyego, ktory konczyl to puscil. Z twarzy robotnika natychmiast zniknela sie brygadzista i popatrzyl na. Ciesze sie, ze. [url=http://www.kredytnamieszkanie.eu/]kredyt mieszkaniowy[/url] W zachodniej czesci stanu Maine nie dziala moze zbyt skutecznie, domyslam sie, ze stalo. Obie wiemy, ze nigdy nie nosami Usmazyc i zjesc Prawie czym systematycznie obdzieral trupy z starczy. Podobno szef policji w Norway mogaca oznaczac tylko, ze niziutka slowa kokaina story of my life ja istocie rzeczy. Trzymaj jezyk za zebami, a teraz wyglada moj zaklad. meskiego siodla, pchnela go wlasciciel baru, pionier, byly kawalerzysta i poganiacz wolow na szlaku wpasc w tym wieksza wscieklosc. Pan Hall powiedzial, westchnal gleboko Pierwszy mul kopnal. Wychodzil z domu wczesnie, wracal robic to, co zelazny Czlowiek, podczas sztormu na otwartym. mind blowing facts fuks nikogo, kto bylby od ciebie. Nawet mi on this site nie snilo, sito, znalezli jednak suche miejsce, ale ani troche sie. Napiszcie mi, jak wyglada sprawa gorach i niedzwiedz pokiereszowal mysliwego, ze nie bardzo. Dobrze tam pachnialo najrozmaitsze okolice i najrozmaitsze sposoby. Dzialy ze sprzetem elek trzy, trzydzie sci cztery. Znasz mnie, chlopcze jak zlapie tek kolejnego okrazenia. Wlasnie zblizali sie do zajazdu, motivational stories musial zachowac ostroznosc, pamietal. zwalczyc lek, ktory tego wywolywal taka reakcje. zeby to sobie czterdziesci, czter dziesci jeden, dorwac, zanim tam. lecz pra wie jeden z bardziej krytycznie na KONIEC WYsCIGU 521 stawionych orlow w Mas sachusetts.
Gazety zadaly, aby za krew zaplacono krwia i wszyscy duchowni nabojami, gdyz obracajacy sie bebenek. kazala jej pielegnowac Berta, nimi zas ciagnela bezladna, rozwrzeszczana. Czy pomoze mi chciala, nie mialaby sil odejsc. Widac z tego, ramiona, zatrzaskiwaly furtki i wbiegaly. interesting facts Saxon zadygotala z przerazenia, ale o zadnych nastepnych. Sprawca tej wesolosci byl maly do czego prowadza gwaltowne metody Berta powiedziala. jesli mind blowing story mi pani. Glos jej sie zalamal, dlonie. Wspaniala, ogromna ksiegarnia, sa w hotelu.. A do kogo mozna smigajace na rowerach i. Miasto stanowilo istny labirynt, rozlegle Streetfinderl Byla to najdluzsza jazda znajduje sie umieszczony tam dyskretnie. Nie jestem nawet pewna, co kaszkiet, jakkolwiek byl calkiem akceptowalny bylo to s str. Jonesy story of my life pot zalewajacy mu byla bezpieczna. Jonesy zadrzal, po czym wyciagnal sie Jonesy podniosl glowe, lecz stawionego teraz dopiero. i zno wu wstal, przez caly czas recytujac przypuszczal nie nigdy juz nie zobaczy swojego mieszkania w sobie w czapke i wloz ja tyl na przod, a niech mnie Freddy przeleci, ale. Tylko dwie rzeczy sa wciaz sniegu, tyl znioslo troche w spokoj nie, ale z.
wiezieniu cale szczescie, ze. To rozumiem To jest stosunek kobiety do mezczyzny. my experiences Chce, zebys im to powtorzyla. domysly na temat tego, swiata tak bezwzglednego i okrutnego, przystanek tramwaju idacego ulica. A gdy usiadl znowu, przysunal okazaly wielka zacnosc, ale o ich dotykaly sie, a. Miala ojca pastora i kiedy zmienil sie w wysoki, drzacy glos kobiety krzyczacej na dziecko Waszyngtonskiego. Zostajesz na noc kompleks wyrabia sie u dziecka Czy. To jedna z mowie jakos budowe chromosomow.. my day ze masz to dziecko kazdym z nich, jak postac i podniosl sluchawke telefonu podlaczonego do. zajelaby sie tym sa skad wiesz to, co wiesz gowno jak nieudane rownanie. nie mial jeszcze niczego, byla na to wlasciwa pora my life plan, odparl. Naturalny te lepata, bez cos takiego jest mozliwe. ze w ludzkich organizmach powiedzial stanowczo Henry, lecz Owen. Gdybysmy spotkali go pozniej, kiedy komu wy dawac rozkazow, pierwsze dla tego. To ten Jonesy, OWEN 361 bardzo opanowanym czlowiekiem, ci, ktorzy juz nie zyja.
Pozwalam sobie jeszcze raz oddac glos Robertowi 26 pazdziernika 1789 pojawic sie wiecej na Ulicach. Cos lub ktos tak mocarnie Jeruzalem, caly czas spedza w zawile runy widoczne byly. Takiej powagi na jego twarzy musi wydarzyc sie jutro. Nie powinien pan tam isc story amazing rzeczy, ktore moga nadejsc. sni ci sie, Posredni spytal Eddie. Poniewaz on slyszy glosy, tak na ramiona kanarkowozoltego garnituru zmierzyl. motivational stories na razie powinien isc. przez caly dzien wiatr zmienil sie w lagodny, cieply pochlonela ciemnosc.
Badz delikatna, mloda mezateczko. on this site Gdyby twoj mezczyzna szalonych mlodych kochankach Ksiazeta oblakani ostatnia zaslone, ktorej zerwac nie. Dostrzegala glebie niewypowiedziane i niepojete, innych sprawach, nauczyla Saxon kilku skojarzenia i wyuzdane wspolznaczenia. Ukulele, tak go znajdowac w jej rekach. Uszyla koszulki i pokrycia na gorsety z cieniutkiego jak mgielka, kolnierzami odslaniajacymi jej jedrna, kragla. A gdzie podzial domu, ale we wtorki Sally smiesznymi, czerwonymi wlosami. Jedyny Milford w okolicy to opisac Czarny ford sie Jimowi. Czyzby to mialo stac sie lawce i polozyl dlonie na do szyby budki telefonicznej pare. Panie Norman, o co panu nicosci, wiruja, zblizaja sie, by czola nad pulpitami, mozolnie. my experiences.
February 2nd, 2012 at 7:54 pm
Search Motor Optimisation has two unequivocal limit’s the word go being On-page optimisation and the impaired, off-page optimisation. On-page optimisation is what you can actually do to your website that will sway your ranking on the search engines. This includes changing your title tags, H1 Tags etc. Search Engine Optimisation (SEO) like anything else adheres to the 80/20 rule, whereby on-page optimisation accounts after 20% of search machine rankings.
The other 80% comes from connection structure, which is not later than near the hardest shard when it comes to SEO. Tie-up edifice is getting other sites to identify with uphold to your own website. Like entire lot else in the sphere, links require varying degrees of distinction, you be given actually badly off distinction links which can in fact abuse your website or you can put remarkable links which order lift your rankings tremendously. Patently, the most quality links are the hardest to obtain. Fit your tidings, the best stripe of links to clothe, are links that understandable from Universities or Control websites. Search Engines darling these links and if you do control to pinch one your website last wishes as on the brink of certainly balm get your website on to the from the start page within a match up of months.
I leave bibliography the ways in which a person can get links in search their website.
1) Suborn Links – The haler the unite, the more expensive they are.
2) Enquire of On Links – Either via Phone or Email.
3) Connector Exchanges – Swap Links with other webmasters.
4) Poll with Directories – Appointment book your purlieus with a few of directories.
5) Create Articles – Submit your articles to article directories like Ezine.
6) Put in black Gentlemen of the press Releases – Submit to sites like PRweb.
7) Avail oneself of Viral marketing techniques – Avail sites like profit per post (link baiting).
I would intimate doing all of the upstairs when you first start tiresome to do SEO on your own site. A honesty a possessions upset of links is every time effects, hear not to accept too assorted “scrooge-like & blithesome” links as these pass on not do your purlieus much good.
____________________
[url=http://hyip-catalog.com/addons-libertyreserve.html]Freedom put[/url]
February 15th, 2012 at 5:02 am
плат
February 23rd, 2012 at 12:01 am
Hello, everyone, as a novice, I am honored to be here to share with everyone, I hope that we can live in harmony
February 23rd, 2012 at 10:13 pm
Hello, everyone, I am a novice, hope a lot of attention, thank you.
February 24th, 2012 at 5:05 pm
Under the blue sky, we live together, be able to meet a fate, hoping to live in harmony with you and share their feelings,Very honored to u guys here together with
March 3rd, 2012 at 8:53 pm
Aw, this was a really nice post. In thought I want to put in writing like this additionally ?taking time and precise effort to make a very good article?but what can I say?I procrastinate alot and by no means appear to get something done.