> On 5/10/05 00:42:15, you wrote:
> 
>>> I have multiple languages (with different keyboard layouts) configured.
>>> I can switch between them, and I can see the currently selected
>>> language ("En", "Pt", etc.) in the language bar. 
>> 
>> There is nothing in existing PowerPro to show language, but I uploaded a
>> new win.dll with win.getlanguage which returns an integer reprsenting
>> the language. 
> 
> Thanks a lot for the quick help! Unluckily, this doesn't seem to display
> the language setting I'm talking about. It seems to display the system's
> basic setting, not the one that can be changed to switch between keyboard
> layouts. 
> 
> On my system, it shows "1033" all the time, which is US English, the basic
> setting. It does not change when I switch the language setting associated
> with keyboard layouts.

It seems you return the value from GetSystemDefaultLangID(). What I was
looking for is the result of GetKeyboardLayout(). This function needs as
argument a thread ID (or 0 for the active thread). 

Gerhard


Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to