🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

SetFocus API

#193
From: Nick
Date: Wed, 21 Apr 2004 19:57
12 lines
1325 bytes
Let me explain what I am doing. I am attempting to setfocus to an
application that is in another thread. I have attached my apps thread
to this other thread and now want to use the Windows API setfocus(HWND
hWnd).

It appears that Dephi SetFocus does not reqire an argument, however,
the Windows API SetFocus(HWND hWnd) does. When attempting to use the
API, an error message stating there are to many parameters ocurrs. It
is looking at Delphi Setfocus. How do I get the Windows API
SetFocus(HWND hWnd) to be recognized???

Thanks
Technical Details
Message-ID: <6fda804f.0404211157.7856eec3@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,cf1327d3e7f5b9b3,start
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-04-21 12:57:39 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: nrooster561@aol.com (Nick)
Newsgroups: borland.public.delphi.nativeapi
Subject: SetFocus API
Date: 21 Apr 2004 12:57:38 -0700
Organization: http://groups.google.com
Lines: 12
Message-ID: <6fda804f.0404211157.7856eec3@posting.google.com>
NNTP-Posting-Host: 64.12.116.134
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1082577459 30157 127.0.0.1 (21 Apr 2004 19:57:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 21 Apr 2004 19:57:39 +0000 (UTC)