🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Virtual Key problem

#16145
From: Nicholas Gessler
Date: Wed, 28 May 2003 19:03
12 lines
1599 bytes
Remy, Eudy, Dumboo,

So let's say I'm either too lazy or simply too confused to write the WM_ to
turn the ArrowKeys on...
I can accomplish what I want by dropping an EditBox on the Form, enabling it
and bringing it into focus...

How can I bring the EditBox into focus from inside the program (without
clicking on it)?
I tried EditBox->Focused( ); but it doesn't seem to do what I want...

Nick
Technical Details
Message-ID: <3ed507be@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3ed17b8f@newsgroups.borland.com> <3ed1839d$1@newsgroups.borland.com> <3ed2e51d@newsgroups.borland.com> <3ED4DFC2.3060603@directnet.com> <3ed501cc@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,b34f1e4dec3a67c2
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-05-28 12:40:10 PST
Reply-To: "Nicholas Gessler" <gessler@ucla.edu>
From: "Nicholas Gessler" <gessler@ucla.edu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3ed17b8f@newsgroups.borland.com> <3ed1839d$1@newsgroups.borland.com> <3ed2e51d@newsgroups.borland.com> <3ED4DFC2.3060603@directnet.com> <3ed501cc@newsgroups.borland.com>
Subject: Re: Virtual Key problem
Date: Wed, 28 May 2003 12:03:52 -0700
Lines: 14
Organization: UCLA - Geography
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.1165
NNTP-Posting-Host: 4.60.108.106
Message-ID: <3ed507be@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1054148542 4.60.108.106 (28 May 2003 12:02:22 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-04!sn-xit-06!sn-xit-08!supernews.com!border3.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail