🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #252

Re: about On-Screen Keyboard

#252
From: Ignacio Vazquez
Date: Wed, 14 Jan 2004 21:13
18 lines
1336 bytes
Fatih Tolga Ata wrote:

> I must a keyboard like Windows's On-screen Keyboard. When I click on
> form of The On-Screen Keyboard, it can focus previous focused object.
> I know I use WM_SETFOCUS or WM_ACTIVATE. But How can I do like
> On-Screen Keyboard?

You have to handle WM_MOUSEACTIVATE and return MA_NOACTIVATE.

> However The On-Screen Keyboard can determine keyboard
> language. And it can change keys of itself. How can I determine
> current keyboard layout?

You have to handle WM_INPUTLANGCHANGE.

-- 
Cheers,
  Ignacio
Technical Details
Message-ID: <4005b0f4$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <4005a915@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,506660fd5fc1e7bb
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-14 13:40:43 PST
From: "Ignacio Vazquez" <ivazquezATorioncommunications.com>
Subject: Re: about On-Screen Keyboard
Newsgroups: borland.public.delphi.nativeapi
References:  <4005a915@newsgroups.borland.com>
Organization: Orion Communications Inc.
User-Agent: XanaNews/1.15.8.5
Date: Wed, 14 Jan 2004 16:13:24 -0500
NNTP-Posting-Host: 64.230.176.180
Message-ID: <4005b0f4$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074114804 64.230.176.180 (14 Jan 2004 13:13:24 -0700)
Lines: 18
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail