🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Active control of active window

#9804
From: Remy Lebeau (TeamB)
Date: Tue, 08 Jun 2004 17:36
11 lines
1157 bytes
"Gintaras Kekys" <gintaras-erasethis@sb.lt> wrote in message
news:40c59192@newsgroups.borland.com...

> how do I find active window's active (let's say edit) control handle?

Use GetForegroundWindow(), GetWindowThreadProcessId(), AttachThreadInput(),
and GetFocus().


Gambit
Technical Details
Message-ID: <40c5fa02$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <40c59192@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,abde1219fec890c6
X-Google-Attributes: gid10cc67,public
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <40c59192@newsgroups.borland.com>
Subject: Re: Active control of active window
Date: Tue, 8 Jun 2004 10:36:10 -0700
Lines: 13
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.169.168.124
Message-ID: <40c5fa02$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1086716418 68.169.168.124 (8 Jun 2004 10:40:18 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail