Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
0 down vote favorite

 
i am using this code to get the current keyboard layout name for my app .
 
string Langu = InputLanguage.CurrentInputLanguage.LayoutName;
 
its working fine ....
 
but i want something like that to get the current Keyboard layout name for current active window ...
 
so any help with that ?
 
thanks everybody Smile | :)
Posted 10-Jan-13 2:50am
Edited 10-Jan-13 4:25am
v2
Comments
Sergey Alexandrovich Kryukov at 10-Jan-13 9:57am
   
Why? why?!
 
I'll tell you what... If some application tried to enforce some keyboard layout for me, even inside this application only, I would never come close to the production it this company ever again. Maybe very, very special purpose. What?
 
And by the way, I would not advise you to ignore the question about the ultimate purpose. Who will volunteer to waste time for something which might not make sense?
 
—SA
Elgahed at 10-Jan-13 10:03am
   
i am just increase my skills :)
Sergey Alexandrovich Kryukov at 10-Jan-13 10:06am
   
That can justify things. But there are millions of simple problems waiting for your to solved them, but practically very useful. Do you see it? :-)
—SA

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

What makes you think the keyboard layout changes on a per app basis ?
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 343
1 _Amy 290
2 Manfred R. Bihy 200
3 Maciej Los 185
4 CHill60 180
0 OriginalGriff 7,445
1 Sergey Alexandrovich Kryukov 6,347
2 Maciej Los 3,799
3 Peter Leow 3,558
4 CHill60 2,702


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 10 Jan 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100