PC Review


Reply
Thread Tools Rate Thread

On-Screen keyboard and numeric keypad

 
 
Dennieku
Guest
Posts: n/a
 
      12th Jun 2007
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


 
Reply With Quote
 
 
 
 
Mythran
Guest
Posts: n/a
 
      12th Jun 2007


"Dennieku" <(E-Mail Removed)> wrote in message
news:49f01$466e403d$d55d436a$(E-Mail Removed)...
> 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


 
Reply With Quote
 
rowe_newsgroups
Guest
Posts: n/a
 
      12th Jun 2007
On Jun 12, 12:17 pm, "Mythran" <kip_pot...@hotmail.com> wrote:
> "Dennieku" <denni...@hotmail.com> wrote in message
>
> news:49f01$466e403d$d55d436a$(E-Mail Removed)...
>
>
>
> > 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

 
Reply With Quote
 
David Ching
Guest
Posts: n/a
 
      13th Jun 2007
"Dennieku" <(E-Mail Removed)> wrote in message
news:49f01$466e403d$d55d436a$(E-Mail Removed)...
> 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


 
Reply With Quote
 
Michael S. Kaplan [MSFT]
Guest
Posts: n/a
 
      13th Jun 2007
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" <(E-Mail Removed)> wrote in message
news:HwWbi.14858$(E-Mail Removed)...
> "Dennieku" <(E-Mail Removed)> wrote in message
> news:49f01$466e403d$d55d436a$(E-Mail Removed)...
>> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
On-Screen keyboard and numeric keypad Dennieku Microsoft Dot NET Framework 4 13th Jun 2007 08:30 PM
On-Screen keyboard and numeric keypad Dennieku Microsoft Dot NET Framework Forms 4 13th Jun 2007 08:30 PM
On-Screen keyboard and numeric keypad Dennieku Microsoft C# .NET 3 13th Jun 2007 08:30 PM
On-Screen keyboard and numeric keypad Dennieku Microsoft VB .NET 4 13th Jun 2007 08:30 PM
NUMERIC KEYPAD AND KEYBOARD DOES NOT WORK TOGETHER =?Utf-8?B?TmllbGRw?= Windows XP Hardware 7 15th Aug 2006 06:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:40 AM.