Quantcast
Channel: The Old New Thing
Viewing all articles
Browse latest Browse all 3085

How can I get the Windows 8 touch keyboard to display autocomplete suggestions like the Bing app?

$
0
0

A customer observed that if you use the Windows 8 Bing app with the touch keyboard, the top of the touch keyboard includes autocomplete suggestions for quick access. They wanted to know how to enable this in their own application. In the illustration below, it's the two boxes immediately above the keyboard with the words "aol" and "amazon".

|
a|
SUGGESTIONS
aol
amazon
att.net
autotrader
ask.com
american airlines
aol  amazon
q
w
e
r
t
y
u
i
o
p
a
s
d
f
g
h
j
k
l
'
Search
z
x
c
v
b
n
m
,
.
?
&123
Ctrl
 
<
>

The answer is that it's all done with mirrors.

The thing with the completion suggestions is not actually a part of the keyboard. The Bing app is simply drawing a black box with buttons at the very bottom edge of their window, so that it exactly abuts the touch keyboard. Touch events on those buttons go straight to the Bing app, and Bing programmatically inserts the appropriate word into the text box.

In other words: It's a fake!


Viewing all articles
Browse latest Browse all 3085

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>