Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / June 2007

Tip: Looking for answers? Try searching our database.

On-Screen keyboard and numeric keypad

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Dennieku - 12 Jun 2007 07:42 GMT
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
Mythran - 12 Jun 2007 17:17 GMT
> Hi,
>
[quoted text clipped - 15 lines]
> 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
rowe_newsgroups - 12 Jun 2007 17:47 GMT
> > Hi,
>
[quoted text clipped - 28 lines]
> HTH,
> Mythran

Or you could use UserControls for each keyboard and have them
implement a common Interface (or abstract class).

Thanks,

Seth Rowe
David Ching - 13 Jun 2007 19:17 GMT
> Hi,
>
[quoted text clipped - 4 lines]
> 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
Michael S. Kaplan [MSFT] - 13 Jun 2007 19:30 GMT
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/archive/2006/04/22/581107.aspx

Signature

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.

>> Hi,
>>
[quoted text clipped - 10 lines]
>
> -- David

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.