Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7168389
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T14:46:13+00:00 2026-05-28T14:46:13+00:00

Using a Windows 7 touch device Windows shows this little touch-keyboard indicator (tabing this

  • 0

Using a Windows 7 touch device Windows shows this little touch-keyboard indicator (tabing this will bring up the touch on screen keyboard) when you tab/focus a textbox or kind of input field (Notepad etc.).

I want to write an application that gets notified when exactly that happens, a textbox (etc.) gets focused (no matter which application).

Are applications informed about focusing in other applications, do I need to hook something?

Is there a way in doing so in c++?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T14:46:14+00:00Added an answer on May 28, 2026 at 2:46 pm

    I believe the SetWinEventHook function and specifically the EVENT_OBJECT_FOCUS event is what you are looking for.

    From the MSDN description:

    An object has received the keyboard focus. The system sends this event for the following user interface elements: list-view control, menu bar, pop-up menu, switch window, tab control, tree view control, and window object. Server applications send this event for their accessible objects.

    The hwnd parameter of the WinEventProc callback function identifies the window that receives the keyboard focus.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

according to What's the best way to detect a 'touch screen' device using JavaScript?
I have built a touch screen application using Windows Forms. It works great but
We're building a touch screen kiosk application that will run on Windows POS Ready
Context: We're using an on-screen keyboard on a touch screen kiosk to allow users
I am using Windows, and I have two monitors. Some applications will always start
My touch screen keyboard is highly customizable interface and has every component I need
I'm currently developing a touch screen application using C# (.NET 4.0) and WPF for
I'm developing an application in C++ that's partially driven by touch-screen on Windows XP
Does anyone know the VendorID for this device? Another answer here INQ Cloud Touch
This is a Windows Forms Application project using Visual Studio 2010. That being said:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.