🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #11364

Re: Numeric pad emulation

#11364
From: Ed Mulroy [TeamB]
Date: Sun, 15 Feb 2004 14:47
17 lines
1505 bytes
Look at the Windows API function keybd_event.

.  Ed

> Zlika wrote in message
> news:402f45d1@newsgroups.borland.com...
>
> I have a laptop computer without numeric pad. As it is useful
> for some games for exemple, I would like to have a numeric
> pad emulator. I haven't found one on the net, so I want to
> build one with BCB.
> I would like to:
> - determine the last window which has the focus,
> - send it the keycode corresponding to the button I have cliked
>
> How can I do that?
> Thank you for your answers.
Technical Details
Message-ID: <402f86a3$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <402f45d1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,f4c4c37ecf14a13
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2004-02-15 07:09:27 PST
From: "Ed Mulroy [TeamB]" <dont_email_me@bitbuc.ket>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <402f45d1@newsgroups.borland.com>
Subject: Re: Numeric pad emulation
Date: Sun, 15 Feb 2004 09:47:53 -0500
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 24.74.175.102
Message-ID: <402f86a3$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1076856483 24.74.175.102 (15 Feb 2004 06:48:03 -0800)
X-Authenticated-User: edmulroy
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail