473,473 Members | 2,169 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

On-Screen keyboard and numeric keypad

Hi,

I have to develop an on-screen keyboard and on-screen numeric keypad for a
touchscreen UI. The hardest thing with this is that it has to be
multi-lingual.
Has anybody have ideas how to handle the strange characters of some
languages and how to handle the different number of characters in the
alphabet of some languages?

I've already started with the numeric keypad and I've changed the culture to
"th-TH" for testing purposes. I noticed that the
Thread.CurrentThread.CurrentUICulture.NumberFormat .NativeDigits string array
contains all the numeric characters in the specific language, so I could use
this to convert the numeric values on my numeric keypad to the characters in
the correct language. Does anybody know a more simple way to achieve this...
maybe by using formatting of doubles/ints to strings???

Thx for your answers,
Dennieku
Jun 12 '07 #1
3 6481


"Dennieku" <de******@hotmail.comwrote in message
news:49***************************@news.chello.nl. ..
Hi,

I have to develop an on-screen keyboard and on-screen numeric keypad for a
touchscreen UI. The hardest thing with this is that it has to be
multi-lingual.
Has anybody have ideas how to handle the strange characters of some
languages and how to handle the different number of characters in the
alphabet of some languages?

I've already started with the numeric keypad and I've changed the culture
to "th-TH" for testing purposes. I noticed that the
Thread.CurrentThread.CurrentUICulture.NumberFormat .NativeDigits string
array contains all the numeric characters in the specific language, so I
could use this to convert the numeric values on my numeric keypad to the
characters in the correct language. Does anybody know a more simple way to
achieve this... maybe by using formatting of doubles/ints to strings???

Thx for your answers,
Dennieku
What I would do (although I have never done anything similar to what you are
doing...multi-lingual), would be to create separate displays for each
language, and show them depending on the current os language (or language
selection). Since you have to handle each language separately anyways, this
gives you full control over each look and feel. You could design it so that
all logic is stored in a single "set" of classes while the language
dependant UI stuff is stored in a separate set of classes...this way, you
can make changes to the logic in only one place and it effects all
languages..

HTH,
Mythran
Jun 12 '07 #2
"Dennieku" <de******@hotmail.comwrote in message
news:49***************************@news.chello.nl. ..
Hi,

I have to develop an on-screen keyboard and on-screen numeric keypad for a
touchscreen UI. The hardest thing with this is that it has to be
multi-lingual.
Has anybody have ideas how to handle the strange characters of some
languages and how to handle the different number of characters in the
alphabet of some languages?
Maybe you could see how Microsoft implemented their on screen keyboard in
Vista. I imagine it has to deal with the same issues. You access it by
Start | All Programs | Accessories | Ease of access | On screen keyboard.

-- David
Jun 13 '07 #3
You might also find the following series helpful -- it covers how to
interrogate a built-in layout for all of the key assignments within it.

http://blogs.msdn.com/michkap/archiv...22/581107.aspx
--
MichKa [Microsoft]
NLS Collation/Locale/Keyboard Technical Lead
Globalization Infrastructure, Fonts, and Tools
Blog: http://blogs.msdn.com/michkap

This posting is provided "AS IS" with
no warranties, and confers no rights.
"David Ching" <dc@remove-this.dcsoft.comwrote in message
news:Hw*****************@newssvr25.news.prodigy.ne t...
"Dennieku" <de******@hotmail.comwrote in message
news:49***************************@news.chello.nl. ..
>Hi,

I have to develop an on-screen keyboard and on-screen numeric keypad for
a touchscreen UI. The hardest thing with this is that it has to be
multi-lingual.
Has anybody have ideas how to handle the strange characters of some
languages and how to handle the different number of characters in the
alphabet of some languages?

Maybe you could see how Microsoft implemented their on screen keyboard in
Vista. I imagine it has to deal with the same issues. You access it by
Start | All Programs | Accessories | Ease of access | On screen keyboard.

-- David

Jun 13 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: john Q | last post by:
I found a PHP based email obfuscator for use in websites, where the source HTML (PHP, actually) file doesn't contain the actual email address in the Mailto tag, but generates it and that...
4
by: Frank | last post by:
Whats best : register_globals ON ? OR register_globals OFF ? I currently use: $_POST
1
by: David Walker | last post by:
Hi I've got two servers I can use for a website. The one (I'll call it 'X') I need to keep most of the site on doesn't have all the PHP libraries on I need, but I can't put the whole site on the...
3
by: Laiverd.COM | last post by:
Hi, Have been busy figuring this out for a couple of hours now, but to no avail. I'm testing a form build in Flash that is being submitted through a PHP page. All working fine as long as the PHP...
3
by: Ralph Freshour | last post by:
I have a PHP web app using MySQL - when I save a .jpg file named test's.jpg I see that the filename on the unix server is: test\'s.jpg - the filename I end up saving in my SQL table is named...
0
by: Google Mike | last post by:
After a lot of thought and research, and playing with FreeTDS and InlineTDS, as well as various ODBC connections, I have determined that the fastest and cheapest way to get up and going with PHP on...
3
by: TJ | last post by:
I need information on how to implement the PFPRO function within Verisign on a Windows platform. I hope it isn't true but I believe Verisign does not support PFPRO functions on Windows platforms...
3
by: laurie | last post by:
Hi all, I'm trying to help out a friend who has inherited a client with a PHP shopping cart application. Neither of us know PHP, but I've been muddling my way through, trying to get these old...
3
by: Bruce W.1 | last post by:
With ASP.NET I've found that request are processed sequentially, one at a time, at least on a server with one CPU. If one request blocks for some reason, maybe on a long database query, then all...
10
by: Yang Li Ke | last post by:
Hi guys, Im about to build a script which will log visitor time spent on my website. I got a few ideas about this, maybe checking visitors ip and storing that info in db with time in and then...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.