473,387 Members | 3,820 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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
4 8482


"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
On Jun 12, 12:17 pm, "Mythran" <kip_pot...@hotmail.comwrote:
"Dennieku" <denni...@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
Or you could use UserControls for each keyboard and have them
implement a common Interface (or abstract class).

Thanks,

Seth Rowe

Jun 12 '07 #3
"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
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 #5

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
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...

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.