🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Eangelo Thu, 29 Jun 2006 09:21
Keyboard focus other application button
#3354
Author: Eangelo
Date: Thu, 29 Jun 2006 09:21
5 lines
1221 bytes
I am working on a program that needs to know if a certain button in another
application has currently keyboard focus. Is there an API to acheve such a
goal?
Thanks in advance
Henry - Italy
Re: Keyboard focus other application button
#3357
Author: Remy Lebeau (TeamB)
Date: Thu, 29 Jun 2006 17:04
12 lines
1229 bytes
"Eangelo" <eangelo@libero.it> wrote in message
news:44a39bb7@newsgroups.borland.com...

> I am working on a program that needs to know if a certain button
> in another application has currently keyboard focus. Is there an
> API to acheve such a goal?

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


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads