Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Get only windows, that can receive text

Posted on 2009-07-16
4
Medium Priority
?
169 Views
Last Modified: 2013-12-17
Hello, how can I get a list of only those open windows, that can receive text input? So, notepad will be included in the list, MS Word as well, etc., but no other ones.
0
Comment
Question by:kutiJack
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 86

Expert Comment

by:Mike Tomlinson
ID: 24871900
I don't think there is a universal way of determining this with such a wide open specification of "can receive text input".

For instance, an app could be using low level hooks or DirectX to get user input...all WITHOUT any controls on the main window that receive focus from the operating system.

Or an app could "receive" input via named pipes, custom registered windows messages or even sockets.

Could you narrow down your requirements further?...
0
 

Author Comment

by:kutiJack
ID: 24872454
Well, I would like to have an application, that would collect all text and images copied to clipboard and then, it would provide list of all open windows, that are capable to receive text or image and after selecting the desired one, it would activate the window and paste selected pieces of text and selected images to it. I know, I can iterate all open windows, but this makes the list too long and uncomfortable.
0
 
LVL 86

Accepted Solution

by:
Mike Tomlinson earned 1000 total points
ID: 24872615
Would it be sufficient to list just the windows that appear in the taskbar?
http://www.experts-exchange.com/Programming/Languages/.NET/Q_21739204.html
0
 

Author Comment

by:kutiJack
ID: 24872849
Yes, this should suffice, thank you.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question