🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Passing key presses on to another form

#4074
From: Anders Johansen
Date: Sun, 26 Mar 2006 14:48
15 lines
1203 bytes
Hi,

Not sure if this question goes here, but here we go:

I have a tool bar form floating over the main form with StayOnTop set to
true. Sometimes the tool form has focus, but I want keyboard key presses
(not mouse key events) to be passed on to the main form. I know which
control on the main form to give focus, and how to do it, but the catching,
screening and then passing on of the keyboard events eludes me.

Any easy solutions?

Sincerely,
  Anders
Technical Details
Message-ID: <4426b7b7$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2f0c7fdce41e2cf,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Anders Johansen" <home@dduck.dk>
Sender: "Anders Johansen" <home@dduck.dk>
Reply-To: "Anders Johansen" <home@dduck.dk>
Subject: Passing key presses on to another form
Newsgroups: borland.public.cppbuilder.nativeapi
X-User-Info: 217.157.225.50     
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4426b7b7$1@newsgroups.borland.com>
Date: 26 Mar 2006 07:48:07 -0700
X-Trace: newsgroups.borland.com 1143388087 207.105.83.66 (26 Mar 2006 07:48:07 -0700)
Lines: 15
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail